: 4 URLs lead to the same page content, are 301 redirects better or setting rel canonical better? All the following pages have the same exact content: http://www.example.com/seo-url (rel canonical
All the following pages have the same exact content:
www.example.com/seo-url (rel canonical URL) www.example.com/ID1234 http://www.example.com/content/ID1234 www.example.com/ID001234
Currently we have set rel canonical to www.example.com/seo-url on all the links.
This means that if you open URLs 2-4, they will open with whichever URL you use. While the content is the same the URLs are different.
Is it better to apply 301 redirects to URLs 2-4 so that they all lead to the same location (URL 1) and open the same page content only on URL 1.
I have a feeling that 301s would be beneficial to our rankings.
More posts by @Alves908
2 Comments
Sorted by latest first Latest Oldest Best
A 301 redirect is preferable to a canonical declaration.
This has different reasons, e.g.:
Not all consumers support the canonical link type (which is relatively new), but most should support 301 HTTP redirects (which is a relatively old standard).
The canonical link type is intended for bots, so most human visitors won’t learn which URL you prefer. With HTTP redirects, all users automatically end up on the same URL, so all use the same URL to link to your document.
With HTTP redirects, URL-based caches are more effective.
This is also what RFC 6596: The Canonical Link Relation recommends:
Before adding the canonical link relation, verification of the following is RECOMMENDED:
[…]
For HTTP, permanent HTTP redirects (Section 10.3.2 of [RFC2616]), the traditional strong indicator that a IRI's content has been permanently moved, could not be implemented in place of the canonical link relation.
[…]
It depends on the search engines you are trying to index in.
If you are looking for the greatest compatibility with all search engines (so that they can index your site), then you're better off to use 301 redirects.
If you're looking for speed and you only want your site indexed in google (and whatever other search engine that fully supports <link rel="canonical" href="original-url">), then declare the duplicate pages as canonicals since there is no need to load at least twice the number of pages (the redirect page, possibly additional redirect pages and lastly, the content page).
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.