Mobile app version of vmapp.org
Login or Join
Lee4591628

: 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

@Lee4591628

Posted in: #Seo #Sitemap #Url #UrlSlug

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?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Lee4591628

1 Comments

Sorted by latest first Latest Oldest Best

 

@Shelley277

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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme