What is the best way to format an xml sitemap?
-
I am wondering if the urls should be in alphabetical order or if they should be set out in a way that reflects the sites hierarchy?
Thanks.
-
The best resource for XML sitemap information is http://www.sitemaps.org/protocol.php
The order makes no difference at all. If you have proper site navigation, the sitemap really does not perform any function. A search engine will scan the sitemap and determine if it has any URLs which have not been crawled, then decide upon what action to take. The URLs already in their database are disregarded unless they have new information (i.e. the last mod date is newer then when the page was last crawled).
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
-
How to best handle search landing pages - that don't exist
I have quite a bit of blog information that can be searched, which results in "pages" that don't actually live anywhere. These are scanned by Moz and appear as poor page quality for speed, etc. How do I get the service to either ignore all of these or is there a way to treat them as a real page with content? As there are quite a few generated over time, I'd like to be able to capture them somehow. Thanks.
On-Page Optimization | | amac70 -
Best .net cms and ecommerce platform for seo?
Hi and thanks for looking. Due to internal constraints we are looking at a .net cms and ecommerce solution, I would have preferred a magento and wordpress solution but we have to work within our constraints. Can anyone share their experiences or thoughts on what cms they would use with seo in mind and what eCommerce platform, again with seo in mind. thanks again for looking and all replies gratefully received.
On-Page Optimization | | Renford_Nelson1 -
Best practice for footer in ecommerce - Shall I add Top Category links?
What would you recommend regarding links to "Top Products" and "Top Categories" in footer? Would you add them to give extra link juice to top categories? would you try to avoid category links in footer that are already in the header navigationor in the main content area to avoid linking twice from all pages? would you vary these top category links in footer according to main category
On-Page Optimization | | lcourse0 -
Using phrases like 'NO 1' or 'Best' int he title tag
Hi All, Quick question - is it illegal, against any rule etc to use phrases such as 'The No 1 rest of the title tag | Brand Name' on a site?
On-Page Optimization | | Webrevolve0 -
Too many on page links in sitemap.html
My crawl report is flagging an issue with too many links to one of my pages, this page is my sitemap.html. However, I have coded the page so that if required is specified it generates an .xml version of the page and if not then the html version is displayed. What is the best way to stop the crawl finding the html version whilst maintaining it on the site for clients navigation?
On-Page Optimization | | SamPenno0 -
Sitemap error is reported when using a sitemap-index generated by Yoast
I've installed the Yoast SEO Plugin for wordpress and I've setup the sitemaps using it. I saw the tool has generated the Sitemap index file http://www.phraseexpander.com/sitemap_index.xml with different indexes for posts and pages I've submitted that to google and it's indexed. When I use Seoquake to check my website, I see that it says that the sitemap is missing (in fact http://www.phraseexpander.com/sitemap.xml) is returning 404. Shall I fix that? Shall I do a 301 redirect in my .htaccess file to http://www.phraseexpander.com/sitemap_index.xml Thanks.
On-Page Optimization | | nagar0 -
Best information organization for a new site?
I'm launching a new stain removal website, and wanted to know what would be considered the best way to organize the content? Since most articles will roughly involve "removing X from Y" or "how to remove Z," I can see two ways... 1. Organize articles by Stained Items, Stain Agents and perhaps Cleaning Detergents. 2. Spread the categories out more, to try and group stained items according to categories... E.g. Hard surfaces, delicates, fabrics, ceramics etc. Any thoughts on which of these two might be the best way to organize the site, or are there any better suggestions? Not sure what the main considerations are here... Either of these two seem equally user-friendly.
On-Page Optimization | | ZakGottlieb710 -
Title optimization best practices for clients with insanely long business names
How do others utilize keywords and preserve branding in the title tag for clients with a REALLY long name? Two examples. Example 1: Business name is 38 characters long in the following format: [Firstname] [initial] [Lastname] [Businesstype] Services 38 characters is workable, but the keywords for what he offers and this industry in general are long too. He abbreviates to his initials in the domain name - I don't love doing that as the acronym has a meaning of its own. (We unintentionally acquired at least one very amusing if useless backlink thanks to that.) Leaving off "Services" saves a few characters. Example 2: Business name totals 58 characters and references their two related lines of business. Similar to: Rogers Institute of Robotic Studies and RIRS Robot Repair
On-Page Optimization | | MaryAnneG
or (saves a few characters)
Rogers Institute of Robotic Studies and Robot Repair How would you handle that? Use the appropriate half of the name on pages related to that particular LOB? Only use the brand on some pages? Abbreviate more? I've been using their full name on the more "general" pages of the site and omitting it in favor of keywords on the more specific pages . Suggestions? Other ideas?1