Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

Doubt on Sitemap

         

DanielGriffin

2:01 pm on Jul 15, 2022 (gmt 0)

Top Contributors Of The Month



How effective to have a site map for blog URL instead of home page? (Example - sample(dot)com/blogs/sitemap.xml or sample(dot)/sitemap.xml)

not2easy

2:32 pm on Jul 15, 2022 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



If your robots.txt file does not specify any URL for the sitemap, bots will expect to find it in the root (public_html) directory at
https://example.com/sitemap.xml
You can have it at
https://example.com/blogs/sitemap.xml
but if so, it is best to list it at that URL in your robots.txt file.

Does example.com have a separate sitemap for the domain, or is the /blogs/ directory the only sitemap?

robzilla

2:57 pm on Jul 15, 2022 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Not effective in the sense that it matters for indexing, ranking, or whatever. But as noted you do want to make sure search engines know about the sitemap's location.

Note that you can also refer to other sitemaps from within your sitemap.xml file, see for example Google's sitemap: [google.com...]

lucy24

3:08 pm on Jul 15, 2022 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Funny to see this subject line, because I’ve only just deleted all sitemaps. I could never be bothered to maintain them, and they weren’t needed anyway. They never are, unless you have the world’s worst site navigation. (HTML sitemaps made for humans are a separate issue--and those, of course, are useless unless they are extremely easy to find.)