Is it an SEO problem to link to short URLs that redirect to canonical URLs but put the canonical URLs in the sitemap?

Is it an SEO problem to link to short URLs that redirect to canonical URLs but put the canonical URLs in the sitemap? - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the Is it an SEO problem to link to short URLs that redirect to canonical URLs but put the canonical URLs in the sitemap? error on your web browser. Problem :


I have a URL that I have added to my sitemap that reflects a health-tip entity




http://www.example.com/health-tips/232344/this-is-perfect-for-your-health




where 232344 is the id of the entity.



Though, the links to this entity throughout the website are as follows :



<a href="http://www.example.com/health-tips/232344/"> Go to the perfect tip </a>



When the link is clicked, the application processes the id in the URL, adds the proper title and redirects to the same page again with title added in the URL.



Does this cause any problem with crawling by SE? Shall I add the URL with title as canonical URL in the page of the health-tip? Shall I use the full URL with the title in the href?


Solution :

I'd suggest updating the links in your website to the absolute URL and avoid redirections (unless of course you have valuable links pointing to the URL ending with the ID)



This is an unnecessary redirection and should better be avoided.


We hope that this article has helped you resolve the seo, redirects, sitemap error in your web browsers. Enjoy browsing the internet uninterrupted!

Comments

Popular posts from this blog

How to redirect to any domain [duplicate]

"302 found" for index page bad for SEO?

Create redirect from url like www.example.us/?p=100&option=