
: Should URLs in the sitemap contain the slug? I'm coding the sitemap logic of my side-project blogging platform and I would like to know if omitting the slug in the <loc> nodes of the
I'm coding the sitemap logic of my side-project blogging platform and I would like to know if omitting the slug in the <loc> nodes of the sitemap. Could be a problem for the crawlers.
Having two URLs that point to the same page:
www.example.com/post/213212/ http://www.example.com/post/213212/this-talks-about-foo
Could I use just links without the slug to create the sitemap? Does it have any drawbacks?
More posts by @Lee4591628
1 Comments
Sorted by latest first Latest Oldest Best
No but I would use the canonical links as much as possible. That way they get copied and passed along right.
So if the canonical has the slug, I suggest you use that one. Actually, I high recommend canonical to use the slug, it will be more search-engine friendly.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2025 All Rights reserved.