Code update for ads.txt on wpengine
-
On your support site you provide a rule for WPEngine customers. It is on this page here: https://wpadvancedads.com/wp-engine-and-ads/#adstxt_not_showing_up
I just got off a chat with them and they mentioned the following change needs to happen to your code
“Okay the rule for our platform is actually:
————————-
location ~* ^/ads.txt {
log_not_found off;
if_modified_since before;
add_header X-Type “ads”;
add_header Cache-Control “public, max-age=2592000″;
error_page 403 = @varnishforever;
error_page 404 = @varnishforever;
}
————————-
location = /ads.txt { breaks the config file entirely”I am just letting you know so that you can update your article.
Thanks for the great plugin.The page I need help with: [log in to see the link]
- The topic ‘Code update for ads.txt on wpengine’ is closed to new replies.