-
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; })
You must be logged in to reply to this ticket.