Support » Plugin: Advanced Ads – Ad Manager & AdSense » Code update for ads.txt on wpengine

  • Resolved soflaweb


    On your support site you provide a rule for WPEngine customers. It is on this page here:

    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]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Thomas M


    Hi soflaweb,

    thank you for caring and letting me know about the change. I just updated our manual.

    > Thanks for the great plugin.

    Thank you. Would you find a minute to say it here?

    Best regards,

    I am going around in circles here. Not sure if the updated article is out or if the code is off or what. I’m not a coder by any means, which is why I downloaded this plugin. It’s not working and I can’t even figure out how to reach WP for a personal support ticket. I’m being sent from here:
    I’m too old to do more than just write articles. Is there an easier plugin, or should I just forgo google adsense. I’m an idiot, I know.

    Plugin Author Thomas M


    Hi @cattington, I’d be happy to take a look. Please post your questions and URL to your site in a new thread here so that we can work through it.


Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Code update for ads.txt on wpengine’ is closed to new replies.