• Resolved dhaigh90

    (@dhaigh90)


    for the life of me I cannot get this site indexed

    google search console returning the following message for all my pages:

    Indexing allowed? No: ‘noindex’ detected in ‘X-Robots-Tag’ http header

    HTTP / HTTPS Header Check returning the following:

    X-Robots-Tag => noindex, nofollow

    Yoast SEO plug installed, the obvious checked with that

    Below is my robots.txt

    User-agent: *
    Disallow: /wp-admin/
    Allow: /wp-admin/admin-ajax.php
    Disallow: /uploads/wpo-plugins-tables-list.json

    Below is my .htaccess file

    # BEGIN WordPress
    # The directives (lines) between "BEGIN WordPress" and "END WordPress" are
    # dynamically generated, and should only be modified via WordPress filters.
    # Any changes to the directives between these markers will be overwritten.
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    Please help!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support devnihil

    (@devnihil)

    @dhaigh90 We’re sorry to hear you are experiencing this issue on your site.

    We were able to find that there is a noindex tag being output for your site. We checked it in Curl and it appears to be an X-Robots tag:

    cbailey$ curl -I https://virtualadvancements.co.uk/
    HTTP/1.1 200 OK
    Server: nginx
    Date: Wed, 07 Apr 2021 21:29:27 GMT
    Content-Type: text/html; charset=UTF-8
    Connection: keep-alive
    Vary: Accept-Encoding
    WPO-Cache-Status: not cached
    WPO-Cache-Message: The request method was not GET (HEAD)
    Link: <https://virtualadvancements.co.uk/wp-json/>; rel="https://api.w.org/", <https://virtualadvancements.co.uk/wp-json/wp/v2/pages/146>; rel="alternate"; type="application/json", <https://virtualadvancements.co.uk/>; rel=shortlink
    X-Powered-By: STORM
    X-Served-By: a00daa3f3208461f646997ed5d34a9fa
    X-Robots-Tag: noindex, nofollow

    Yoast doesn’t output the robots meta tag in this manner, so it’s likely coming from another plugin. If you aren’t sure of which plugin might be outputting the tag, we’d recommend performing a conflict check which we have a guide on here: https://yoast.com/help/how-to-check-for-plugin-conflicts/

    Plugin Support devnihil

    (@devnihil)

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘No: ‘noindex’ detected in ‘X-Robots-Tag’ http header’ is closed to new replies.