Sitemap cannot be submit to Google Search console no indexx-robots-tag: noindex

#1073494
  • Resolved ygo
    Rank Math free

    Hello. i have a huge problem with Rank Maths with my website. Rank Math generating a dynamic xml sitemap https://www.publieremploi.fr/sitemap_index.xml. Fact is Google Search console no longer access this file seems because of x-robots-tag: no index. this is set in plugins/seo-by-rank-math/includes/modules/sitemap/abstract-xml.php by default. I try to put in my theme add_filter( ‘rank_math/sitemap/http_headers’, function( $headers ) { $headers[‘X-Robots-Tag’] = ‘all’; return $headers; })

Viewing 16 replies (of 16 total)
  • Hello,

    We are glad that it helped.

    Do you still need our assistance with anything else, or can we go ahead to close the ticket?

    We look forward to helping you.

    Thank you.

Viewing 16 replies (of 16 total)

You must be logged in to reply to this ticket.