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

#1071203
  • Resolved Sachin Gopa
    Rank Math free

    We haven’t added Noindex tag anywhere in the website but its showig No index tag everywhere.

    Please help to resolve this issue on highest priority

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

    We apologize for the issue you are facing with the ‘noindex’ tag being detected in the ‘X-Robots-Tag’ HTTP header across your website. This can often happen due to server configurations or settings that may have been applied inadvertently.

    To resolve this issue, we recommend checking the following:

    1. Server Configuration: If you have access to your server configuration files (like .htaccess for Apache or nginx.conf for Nginx), look for any lines that set the X-Robots-Tag. You might find something like:

      Header set X-Robots-Tag "noindex, follow"

      or for Nginx:

      add_header X-Robots-Tag "noindex, follow";

      If you find such lines, you will need to remove or modify them accordingly.

    2. Plugins: Check if any SEO plugins or security plugins are configured to add this tag. Sometimes, settings within these plugins can inadvertently apply a noindex directive.

    3. Theme Functions: If you have custom code in your theme’s functions.php file, ensure that there are no functions that might be adding this header.

    If you’re not comfortable making these changes yourself, we recommend replying to this ticket with your website URL so that a human agent from our support team can assist you further. They can help investigate the issue more thoroughly and provide specific guidance.

    Thank you for raising this concern, and we look forward to helping you resolve it!

    Hello,

    We checked several of the URLs you shared and they are all set to index.

    Can you please confirm if you’re inspecting your sitemap URL in your Google Search Console and getting this error? If so, then it is normal and you don’t have to worry. You’ll get the error if you inspect your sitemaps because, by default, sitemaps are set to noindex as they are meant to be crawled and not to be displayed on search results pages.

    You should only submit your sitemap to the sitemap section of your GSC account and shouldn’t use the URL inspection tool for the sitemap URLs.
    https://rankmath.com/kb/submit-sitemap-to-google/

    Hope that helps and please don’t hesitate to let us know if you have any other questions.

    Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)

The ticket ‘No: ‘noindex’ detected in ‘X-Robots-Tag’ http header’ is closed to new replies.