2012-12-01, 04:57 PM
2012-12-01, 05:29 PM
You need to go to your robots.txt and deny googlebot from user-agent.
2012-12-01, 06:31 PM
(2012-12-01, 05:29 PM)NNT_ Wrote: [ -> ]You need to go to your robots.txt and deny googlebot from user-agent.
That I know
but there is a method that can be implemented using .htaccess
I needed to know that one.
2012-12-01, 06:39 PM
You could change the sitemap rewrite rule to this:
I might add the X-Robots-Tag to the next version of Google SEO.
But it's really not a problem whatsoever if Google indexes your sitemaps. It shows up for me if I search specifically for it (forum name sitemap index), and browsers display it - it never shows up in usual search queries, though.
# Google SEO Sitemap:
RewriteRule ^sitemap\-([^./]+)\.xml$ misc.php?google_seo_sitemap=$1 [L,QSA,NC,E=NOINDEX:1]
Header set X-Robots-Tag "noindex" env=REDIRECT_NOINDEX
I might add the X-Robots-Tag to the next version of Google SEO.
But it's really not a problem whatsoever if Google indexes your sitemaps. It shows up for me if I search specifically for it (forum name sitemap index), and browsers display it - it never shows up in usual search queries, though.