: Google SEO - remove site map from search result I am an amateur to SEO. I have a new site recently and submitted the site map to GWT. But after several weeks. I found when I search my
I am an amateur to SEO. I have a new site recently and submitted the site map to GWT. But after several weeks. I found when I search my domain in google. The site map also appears to be one of the links in the search result.
How could I prevent if from showing up in the search result?
More posts by @Turnbaugh106
3 Comments
Sorted by latest first Latest Oldest Best
Stop Google indexing sitemap using HTACCESS
In my honest opinion the best method stopping Google indexing sitemaps by using the htaccess since technically robots.txt is a denying access while noinded is readable yet won't index.
<IfModule mod_rewrite.c>
<Files sitemap.xml>
Header set X-Robots-Tag "noindex"
</Files>
</IfModule>
Use no follow on sitemap or go to google webmaster tool click on Site configuration after that click on Sitemaps and after that Select the url and Delete Selected.
Two things:
You should delete sitemap from your account using Webmaster Tools (Site configuration -> Sitemaps -> Select -> Delete Selected)
You should change your robots.txt to prevent Google from accessing the sitemap file (i.e. some like Disallow: /sitemap.xml)
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.