Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Hosting ads.txt on the website is a mandatory part of the AdEngine setup. An optimized ads.txt for your website is hosted on the Snigel CDN at:

Code Block
httphttps://cdn.snigelweb.com/adengine/{domain}/ads.txt

...

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

...

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

...

Code Block
RedirectMatch 301 (/ads.txt)$ httphttps://cdn.snigelweb.com/adengine/{domain}/ads.txt

...