Mobile app version of vmapp.org
Login or Join
Hamaas447

: Can HTML sitemaps be listed in robots.txt just like XML sitemaps? I will have two sitemaps for my website. The first sitemap is the .xml version for the search engines. The second sitemap

@Hamaas447

Posted in: #RobotsTxt #Seo #Sitemap #XmlSitemap

I will have two sitemaps for my website. The first sitemap is the .xml version for the search engines. The second sitemap is a sitemap.php on my website for the users.

I know I can list the sitemap.xml in the robots.txt file as follows:

Sitemap: www.example.com/sitemap.xml

Can I list sitemap.php in the robots.txt? Will it be read by the search engines?

Sitemap: www.example.com/sitemap.xml Sitemap: www.example.com/sitemap.php

Or would it be best to let Google/Bing etc. find sitemap.php, when and if it gets to the website?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Hamaas447

1 Comments

Sorted by latest first Latest Oldest Best

 

@Samaraweera270

Can I list sitemap.php in the robots.txt?


No, that wouldn't work. The XML Sitemap goes in robots.txt. The public-facing site map will be crawled by search engines like any other page.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme