Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set response code for ads.txt requests #14174

Merged
merged 1 commit into from
Dec 5, 2019
Merged

Set response code for ads.txt requests #14174

merged 1 commit into from
Dec 5, 2019

Commits on Dec 4, 2019

  1. Set response code for ads.txt requests

    Under some configurations, the web server will set a status code of 404 for requests to domain.com/ads.txt since the physical file cannot be present for WordAds to return an automatically generated ads.txt. When the generated response is sent, no response code was set so the previous 404 is used. This will cause crawlers such as Google's to ignore the response and the file will be considered non-existent.
    
    Fixes #14169
    Beau Hastings authored Dec 4, 2019
    Configuration menu
    Copy the full SHA
    1867240 View commit details
    Browse the repository at this point in the history