Mobile app version of vmapp.org
Login or Join
Goswami781

: Why I see my page sitemap XML link in Google? I am using Yoast SEO plugin for my WordPress website. I am also using Yoast's XML Sitemap. Today I checked my pages in Google and found this

@Goswami781

Posted in: #GoogleIndex #Sitemap #Wordpress

I am using Yoast SEO plugin for my WordPress website. I am also using Yoast's XML Sitemap. Today I checked my pages in Google and found this indexed by Google:

Title: example.com/ 2014-02-15T22:23:51+00:00 weekly 1 http ...
Link: example.com/page-sitemap.xml‎
Description: example.com/ 2014-02-15T22:23:51+00:00 weekly 1 example.com /contact/ 2014-02-06T13:47:35+00:00 weekly 0.8 example.com/blog/ ...


Any idea which caused this problem? I guess this is not good for my site SEO.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Goswami781

1 Comments

Sorted by latest first Latest Oldest Best

 

@Gail5422790

If you want to remove the xml sitemaps as file from the Google search pages, you have to use the noindex header.

For example, if you create the sitemaps with php, use the following code:

header('X-Robots-Tag: noindex', true);


If your static xml files, you can send the header from the .htaccess file

<Files ~ ".xml$">
Header set X-Robots-Tag "noindex"
</Files>


For more information have a look at google developers

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme