: Should a URL shortener service provide XML sitemap entries for shortened URLs? As a fun project I've written my own URL shortening service. I'd like to know if it makes sense / be useful to
As a fun project I've written my own URL shortening service.
I'd like to know if it makes sense / be useful to include the shortened URLs in the generated XML sitemap.
At the moment I'm leaning towards not including them but I need other, more knowledgeable people's opinion.
More posts by @Eichhorn148
1 Comments
Sorted by latest first Latest Oldest Best
No, the shortened URL should not go in the XML sitemap.
The shortened URL presumably redirects to the long (canonical) URL. Only the canonical URL should appear in the XML sitemap. If the canonical URL is an external resource then that wouldn't be in the XML sitemap either. (The XML sitemap identifies resources on your own site that you want to be considered for indexing.)
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.