Mobile app version of vmapp.org
Login or Join
Caterina187

: Would redirecting short URLs to full long URLS harm SEO? Posts on my website can be reached by URLs like this long version http://example.com/post/22/do-your-home-work-for-free or URLs like this

@Caterina187

Posted in: #CustomShortUrl #Redirects #Seo #Url

Posts on my website can be reached by URLs like this long version
example.com/post/22/do-your-home-work-for-free

or URLs like this short version
example.com/post/22/

I want to use PHP code to redirect all the short URLs to long URLs. Would that make search engine think badly about mysite?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Caterina187

1 Comments

Sorted by latest first Latest Oldest Best

 

@Heady270

Having a single URL for each page is known as URL Canonicalization. Canonicalizing the URL for each page has been an SEO best practice for ten years or more. The search engines won't think badly of you for redirecting your short URLs to your long URLs, doing so may even improve your rankings.

This StackExchange site implements redirects for canonicalization. There are short sharing URL. (Click the "share" links and see for yourself.) These short URLs and incorrect URLS all redirect to the correct full URL for this question:

webmasters.stackexchange.com/q/88265/14543 webmasters.stackexchange.com/questions/88265/ https://webmasters.stackexchange.com/questions/88265/wrong-question-title


You can implement URL canonicalization with either 301 permanent redirects, or by using link rel canonical tags in the head section of your pages. See the Google help document on using canonical URLs for more information.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme