robot tag noindex sitemaps

#1115485
  • Joakim
    Rank Math free

    Hallo,

    please help me, i have tried every thing to get my sitemap to work, only my post gets index. and the other says the same errors

    /category-sitemap.xml
    /encyclopedia-sitemap.xml
    /page-sitemap.xml

    these will not load. they say the same errors

    i have turned off all plugins it could be, so the error has to come from your plugin. please help me

    the full error is “noindex” http-header “X-Robots-Tag”

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

    We apologize for the issue you are facing with your sitemap. It seems that the "noindex" directive is being applied to your sitemap files, which is preventing them from being indexed properly.

    Here are a few steps you can take to resolve this issue:

    1. Check Robots Meta Tags: Ensure that the pages you want to include in your sitemap are set to index. You can check this by navigating to Rank Math SEO → Advanced tab in the post editing screen and ensuring that the robots meta tag is set to index.
      index in advanced tab

    2. Review Your robots.txt File: Make sure there are no rules in your robots.txt file that might be blocking access to your sitemaps. You can check this under Rank Math SEO → General Settings → robots.txt.

    3. Exclude Sitemap from Caching: If you have any caching plugins, ensure that your sitemap files are excluded from being cached. Caching can sometimes cause issues with sitemap updates. You can find guidance on how to exclude sitemaps from caching here.

    4. Check for Server-Level Restrictions: Sometimes, server settings or security plugins can restrict access to your sitemaps. If you suspect this might be the case, try temporarily disabling any security measures or reach out to your web host for assistance.

    5. Flush Permalinks: Go to the Permalinks settings in your WordPress dashboard and click Save Changes without making any changes. This can help refresh the permalink structure and resolve 404 errors.

    If you’ve tried all these steps and the issue persists, please reply to this ticket with your site URL so we can assist you further. A human agent from our support team will take over and provide more specific guidance based on your situation.

    Thank you for raising this concern, and we hope to help you resolve it soon!

    Sources:
    Rank Math Sitemap Issues and Their Fixes » Rank Math
    Why the Sitemap_Index.xml is Throwing a 404 Error » Rank Math

    This is an automated reply from Rank Math Support Bot. Your ticket has been assigned to a human agent and we will get back to you shortly.

    Hello,

    Thank you for contacting us. We apologize for any inconvenience that may have been caused.

    Please try to follow the steps below and see if that works for you.

    1. Flush the Sitemap cache by following this video screencast: https://i.rankmath.com/pipRDp

    2. Exclude the Sitemap files of the Rank Math plugin in your caching plugin. The cache could be via a plugin or from the server. For plugins or Cloudflare, please follow this article: https://rankmath.com/kb/exclude-sitemaps-from-caching/

    3. If the above steps don’t seem to work, kindly apply the following filter to your site.

    add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
    

    Here’s how you can add a filter/hook to your WordPress site:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Once done, clear your website cache and check the sitemap again.

    Meanwhile, you shouldn’t be worried about the “No: “noindex” detected in the HTTP header “X-Robots-Tag” error, as it’s completely fine and normal to have noindex tag on your sitemap URLs.

    Because, by default, sitemap URLs are set to noindex as it is not meant to be indexed and appear in the search results. The sitemap should only be submitted in the sitemaps section in the Search Console.

    The reason is that we don’t want Google to index the sitemap itself; we only want Google to index the pages and posts that are listed on the sitemap. The sitemap is simply a way to inform Google about the pages and posts on your website, not a page that you want to appear in search results.

    Let us know how it goes. We look forward to hearing from you.

    Thank you.

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

You must be logged in to reply to this ticket.