Mobile app version of vmapp.org
Login or Join
Shakeerah822

: Does sitemap.xml contain links to the entire site? I read up on the limitations and how you can link multiple sitemaps. But my question is, are they to contain links to EVERYTHING or just

@Shakeerah822

Posted in: #Sitemap

I read up on the limitations and how you can link multiple sitemaps. But my question is, are they to contain links to EVERYTHING or just the most recent X thousand changes?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Shakeerah822

2 Comments

Sorted by latest first Latest Oldest Best

 

@Samaraweera270

I usually have mine only contain links to every page on my site ... that I want to get indexed by search engines. Search engines are the only users who read the sitemap.xml, so I would not include pages that you do not want to get indexed.

Two examples:


Admin areas
Duplicate pages (like archives in wordpress)


Now the actual sitemap web page should contain a link to every single page in your website (or at least a way to get to every page).

10% popularity Vote Up Vote Down


 

@Becky754

Ideally your sitemap.xml contains:


Every page on your site (at least every one that you want indexed; login pages, legal boilerplate, certain archives etc should perhaps be exluded).
With a correct <lastmod> date accurately reflecting when the content of the page last changed.


Now, if your site is very large, you might need to use the sitemap to only inform the search engines of the newest, most recently added pages on your site. Alternatively you can make multiple sitemaps to have all pages included while still keeping each sitemap below the size limit.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme