...
The IAB ads.txt specification allows multiple redirects within the scope of the website’s root domain, but only a single redirect to a destination outside the original root domain. In addition, it authorizes the response to have the following status codes: 301, 302, and 307. The redirect must be implemented as a single hop to the Snigel CDN.
Implement Redirect on CMS
Many of the available CMSs in the market support redirect, and since some will even override CDN settings, this is the advised place to do the redirect whenever possible.
Implement Redirect on CDN
If the website is delivered through a CDN, like for example Cloudflare, implement the redirect on the CDN level through the CDN provider UI or API. Consult your CDN provider's documentation on how to implement redirects.
Cloudflare Guide: https://support.cloudflare.com/hc/en-us/articles/4729826525965-Configuring-URL-forwarding-or-redirects-with-Page-Rules
Note |
---|
Traffic must pass through Cloudflare for Page Rules to work. If you only use Cloudflare for DNS, Page Rules are not active. |
Implement Redirect on Apache Web Server using .htaccess
...