Jump to main content Jump to doc navigation

bdRedirect is a simple snippet that can be used to create a redirect page that tracks clicks for the listing a link was clicked on. You need to set the &redirectResource property on your bdListings snippet calls to make sure it properly generates the redirect_url property.

Simply create a resource, and put the uncached bdRedirect snippet call in the content:


It will redirect the user to the "website" url, or to the error page if it can't be found.

Support the team building MODX with a monthly donation.

The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.



$0 per month—let's make that $500!

Learn more