Why do some sites have several types of sitemap?
-
Hello Mozzers, I often seem to work on websites with several types of sitemaps - e.g. an html sitemap - an xml sitemap - almost always with identical structure and content. Does anybody know the thinking behind this?
Currently looking at site with php and xml sitemap sitting alongside one another. I'm guessing one is for site users to read (and also to aid indexing) and the other for search engines, to further aid indexing.
Does Google have any preferences? Is there anything you should be wary of re: Google, if there are multiple sitemaps?
-
Thanks for the clarification Peter - appreciated! Luke
-
Hi Luke
PHP is a scripting language not a sitemap format.
If you mean a PHP page, e,g sitemap.php showing a sitemap with clickable links then that will be the same as an HTML sitemap - so good for humans but not the ideal for search engines.
You can get PHP sitemap generators, but that means that they will generate a sitemap by using PHP scripting rather than creating a PHP sitemap.
I hope that helps,
Peter -
Thanks Peter - I'm used to seeing .html and .xml sitemaps but not .php - do you know whether a .php sitemap is a problem in any way?
-
Hi Luke
HTML sitemaps are suitable for humans because you can then put them up as a HTML page that can be viewed and clicked from. XML sitemaps are really for search engines and are the standard that Google, Bing and Yahoo all prefer. See more info here:
http://en.wikipedia.org/wiki/Sitemap#XML_Sitemaps
I hope that helps,
Peter
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Changing sitemaps in console
Hi there, Does anyone have any experience submitting a completely new sitemap structure - including URLs - to google console? We've changed our sitemap plug in, so rather than /sitemap-index.xml, our main sitemap home is /sitemap.xml (as an example). Is it better to 410 the old ones or 301 redirect them to the new sitemaps? If 301, what do we do about sitemaps that don't completely correlate - what was divided into item1.xml, item2.xml is now by date so items-from-2015.xml, items-from-2016.xml and so on. On a related note, am I right in thinking that there's no longer a "delete/ remove sitemap" option on console? In which case, what happens to the old ones which will now 404? Thanks anyone for any insight you may have 🙂
Intermediate & Advanced SEO | | Fubra0 -
Using the same image across the site?
Hi just wondering i'm using the same image across 20 pages which are optimized for SEO purposes. I was wondering is there issues with this from SEO standpoint? Will Google devalue the page because the same image is being used? Cheers.
Intermediate & Advanced SEO | | seowork2140 -
Dfferent url of some other site is shown by Google in cace copy of our site's page
Hi, When i check cached copy of url of my site http://goo.gl/BZw2Zz , the url in cache copy shown by Google is of some other third party site. Why is Google showing third party url in our site's cached url. Did any of you guys faced any such issue. Regards,
Intermediate & Advanced SEO | | vivekrathore0 -
Paid Links on Credible Sites
Hi people. I'm wondering, what would be the effects of having a paid link on a credible site. The site would feature a brand page about my site and link to it. The site has a good domain authority and they are credible with quality content. Ultimately though the link would be paid. Would Google treat this negatively? Or would they pick up on it at all? Thanks, Paul
Intermediate & Advanced SEO | | kevinliao0 -
New site - when will it rank?
We changed our domain 6 weeks ago as we had a penalty we couldn't shake off... My question is: How long will it take to rank for our keywords. I appreciate this is a difficult questions as there are a lot of factors that will effect our ranking. Do Google wait a period of time before allowing a new site to rank well?
Intermediate & Advanced SEO | | jj34340 -
XML Sitemap for classifieds
I have seeon some trends for sites which do not even use XML sitemp and robots e.g. see this site. How do you see if sitemap is not used. Also for classified websites, should ad pages be included in sitemap because after certain duration those ads will be deleted and google might not be able to crawl. What do you suggest about XML sitemap for classified website.
Intermediate & Advanced SEO | | MozAddict0 -
SEO for an exponentially growing site?
Hey Mozers! I was having a quick chat with a friend the other day on doing SEO for a site that grows in page size at an exponential rate and was just wondering how you would go about optimizing it? The example that we used would be a site that allowed users to upload videos and then have people vote on two videos against each other. So, if there are 100 uploaded videos and each of them are pared up with the other 99 to create a unique voting/battle page which has it's own unique URL, the site can get very large, VERY quickly. Meaning if just one more video is uploaded there would be How exactly would you go about optimizing the site? My biggest area of confusion would be generating sitemaps. I'm aware of best practices with large sitemaps (i.e. having a sitemap of sitemaps, not going over 50k in entries per sitemap etc..) But, how would you go about creating the sitemaps for this website if it's growing at an exponential rate, if at all? If you have any other questions feel free to ask and I'll clarify it. Thanks! 😃 **TL;DR How would you optimize a site that grows at an exponential rate? **
Intermediate & Advanced SEO | | JordanChoo0 -
Site speed - query
When you say site speed, does it mean speed of loading of each of the pages of the website or speed of home page loading. What do site speed tools measure ?
Intermediate & Advanced SEO | | seoug_20050