Considering redirecting or canonicalization - Best Practice
-
Hi,
I'm having a techinical problem and I would like advise on the effects this is having on my SEO efforts.
My old site www.oldsiteexample.com (live for about 8 years)
Directs to my new site www.example.com which is fine BUT
When I type me new website into the tool bar both sides are found & do not direct to one domain;
www.example.com & example.com (both the same site)
What is the best practice here? Direct my new non www to my new www site considering my old website directs to the www.
Advise & the SEO affects this is having my website would be greatly appreciated, thank you.
-
MJ, the challenge with that suggestion is it sounds like you are maintaining two websites. That solution would not work for any situation with UGC or any data which changes over time.
Even in cases where the pages were purely static content, a canonical tag would notify search engines of the page you wish to be indexed but not users.
-
A 301 will pass over the link equity also!
-
Also, Ryan is of course correct to say you can use the www. or non www. version - I just have a preference for www. because I think it looks neater!
-
I agree that a 301 is most certainly the best long term solution; however the canonical also provides an opportunity to send over some of the value to the new page/domain before you do that. Hence I usually implement the canonical for a month or two, then redirect. Especially when you're moving to a new domain, it's a good way to faze in the move over rather than going cold turkey, as it were.
If the site has over 600 pages, I'd pick the 50-100 most common landing pages (see Google Analytics) and transfer them. If 10 of the pages get 10000 visits each and the other 590 get 2 visits each, maybe just do the top ten. Hope that makes sense!
-
You can use the www or non-www version of your site. The important thing is to choose one version and remain consistent. It sounds like you prefer the "www" version which is a perfectly fine choice.
When given a choice between canonical or 301, the best practice is 301. Both work, but a 301 is preferred.
Two additional best practices:
1. I know it can be a lot of work but you really should redirect each page of the old site to the corresponding page on the new site. If you simply changed domains the 301 can be written with a single regex statement to replace "oldsiteexample.com" with "example.com"
2. Check your existing 301s on the old site and adjust them to directly point to the new site. You want to avoid any instances where a user has to hop through multiple 301s to arrive at a target page.
-
cheers for the advise. a) I'm looking to transfer the value from my old domain to my new one.
The site has over 600 pages, It wouldn't really be ideal for me to put canonical tags on each of the old pages to the relevant new pages. (can this be done automatically?)
B) Yes I was looking for advise on the new site and which domain should be the main ie: the www (I'll go with the www considering my old site directs to the www)
-
P.S. for got b) !! If it's b), I always redirect to the www. page. You can set that in webmaster tools and also do server side redirects.
-
Not 100% sure what you're asking - do you want to a) transfer value from an old domain to a new domain? Or b) do you want to know whether you should redirect non-www. URLs to the www. equivalent?
If it's a), I'd keep the old site live for a couple of months and set up canonical tags on each page and point them towards the most relevant page on the new site. Leave that to sink in for a couple of months, then I'd 301 pages on the old site to the new site (to the same pages you'd pointed them at with the canonical tag). Leave the 301s in place for at least 180 days, after that you can kill the old site altogether.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
How do I fix a 404 redirect chain
How do I fix a 404 redirect chain? I can't seem to find the answer and I'm worried about it effecting my SEO. Any help would be great!
Technical SEO | | sammecooper0 -
Javascript redirects harmful for SEO?
Hi Mozzers, A website deals with some javascript redirects. After some research, It came clear a normal 301 is the best option, but javascript redirects can be useful if you don't have access to a website' server. Does anyone have experience with javascript redirects? Can they be harmful in any point of SEO? I would love to hear your thoughts!
Technical SEO | | WeAreDigital_BE0 -
301 Redirect
Hello Moz Community, I have a question regarding 301 redirecting a new domain that contains keywords relevant to my website. However, I do NOT want to change my current domain. My main question is, by just redirecting this new domain to my current website, will those keywords in the new domain help with ranking in anyway? Thanks in advance for any help!
Technical SEO | | WyzeOwl0 -
Is there a tool to see all redirects?
I'm thinking this is a silly question, but I've never had to deal with it I thought I'd ask. Ok is there a tool out there that will show all the redirects to a domain. I'm working on a project that I keep stumbling on urls that redirect to the site I'm studying. They don't show up in Open Site or ahrefs as linking domains, but they keep popping up on me. Any thoughts?
Technical SEO | | BCutrer0 -
301 redirects
Hello. Our site was recently rebuilt, and we switched from using index.php in all the urls to not using it at all. We also changed the names of many of our pages. So the urls have been renamed from "example.com/index.php/old_page_name/" to "example.com/new-page-name/". While we were at it, we changed from "_" to "-" as our word separators in the urls. In the .htaccess file, we have a small block of code that strips out "index.php/" from all requests. This code redirects a request for "example.com/index.php/old_page_name/" to "example.com/old_page_name/" For your information, the code that strips out "index.php/" is: RewriteCond %{THE_REQUEST} ^GET.index.php [NC]
Technical SEO | | nyc-seo
RewriteCond %{THE_REQUEST} !/uSZWTLna/.
RewriteRule (.?)index.php/(.*) /$1$2 [R=301,L] Then we have 301 redirects from "example.com/old_page_name/" to "example.com/new-page-name/" QUESTION 1: Is this two-step redirect approach okay, or would it be better to skip the separate index.php stripping code and simply have 301 redirects that include "index.php" in the urls? QUESTION 2: Will we lose some of the benefit of the links that have to pass through a 301 redirect? QUESTION 3: We have 50 or so redirects. Will this affect performance of the site? How many redirects does it take to start affecting performance? Thank you!0 -
Redirecting 404
Hi. I'm working on a wordpress site, which got some old deleted pages indexed and now shows a 404 (also in the results) As these old pages earlier got content and probably also some links pointing towards it, what would then be best practice to do? Should i make an 301 redirect? Make the 404 noindex?
Technical SEO | | Mickelp0 -
Can I do a redirect to a new domain name only a couple of weeks after having redirected to another domain?
I have a client with two website with very similar content. Both had a lot of inbound links and performed fairly well in SERPS. We recently combined both sites and have redirected one of the domains to the other. The traffic dipped slightly initially, but is recovering nicely. Now the client registered a new domain name he would like to use for the site. Should I wait a few weeks for everything to settle down after the first redirect/consolidation of sites before doing a new redirect to a new domain name, or should I not worry about having any issues with doing it right away?
Technical SEO | | Drewco0 -
Best Redirect for old .htm extention to root ?
I have been trying to figure this out with different redirects but cannot seem to get this correct. Some of our forums link to pages that do not exist or are very old. They have (.htm) extension. I do not want to redirect the .htm to .php because the actual names of the link have changed too. What is the best code to redirect any link that has a .htm extention to the root domain? right now I have this code to redirect index.htm to the root, but that is all it works for. I think. RewriteCond %{THE_REQUEST} ^.*/index.htm RewriteRule ^(.*)index.htm$ http://www.example.com$1 [R=301,L]
Technical SEO | | hfranz0