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
-
Redirect 301 to homepage
Hello there, I have some low quality pages in my site, can I redirect 301 them to my homepage? My website is: https://idanito.com idanito.com
Technical SEO | | dannybaldwin0 -
Cant find source of redirect
Hey guys, I have a bizarre situation on my hands. I have a URL that is being wonky. The url is redirecting to another url and the 301 redirect is not in my htaccess. There is a 301 redirect in my htaccess but is being overwritten by something else, i.e. whatever is happening in above. So basically URL A should be redirecting to URL B but instead its going to URL C. I know we were not hacked, it's not redirecting to a strange bizarre domain. I have also disabled all of our plugins that redirect (to my knowledge) Any thoughts would be great!
Technical SEO | | HashtagHustler0 -
301 Redirects
Hi, I have switched my site from a http .co.uk site to a https .com site. I have set a 301 redirect in the .htaccess file pointing all traffic going to the original .co.uk site to go to the new https: RewriteEngine on
Technical SEO | | imoprojects
RewriteCond %{HTTP_HOST} ^up-bus.co.uk$ [OR]
RewriteCond %{HTTP_HOST} ^www.up-bus.co.uk$
RewriteRule ^(.*)$ "https://www.up-bus.com/$1" [R=301,L] however when i search in google for keywords the original .co.uk site is still registering in search, is there something else I am required to do to tell google to use the new https site instead? Do i need to do redirects for every page, or is what I have done above sufficient? Hope you can help, I am struggling with getting our site to register on google search, any advice greatly welcome Thanks in advance, Ian0 -
What is best practice for fixing urls that have duplicate content, non-static and other issues?
Hi, I know there are several good answers regarding duplicate content issues on this website already, however I have a question that involves the best way to avoid negative SEO impacts if I change the urls for an ecommerce site. Basically a new client has the following website http://www.gardenbeauty.co.uk and I notice that it suffers from duplicate content due to the http://www version and the non www version of the pages - this seems quite easy to fix using the guidance on this website. However I notice that the product page urls are far from ideal in that they have several issues including:- (a) they are mostly too long (b) don't include the keyword terms (in terms of best practice) (c) they don't use Static URLS An example of one these product urls would be http://www.gardenbeauty.co.uk/plant-details.php?name=Autumn Glory&p_genus=Hebe&code=heagl&category=hebe I'd like to address these issues, but the pages rank highly for the products themselves, therefore my question is what would you recommend I do to fix the urls without risking the high positions that many of these product pages have? thanks, Ben
Technical SEO | | bendyman0 -
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 -
Redirecting broken incoming links
I have a number of 404s happening on my site due to other websites incorrectly linking to my content. Perhaps they typed the word wrong, or their software did. Here are some examples from webmaster tools: learn/ingredie.. shop/accessories_and_extras/professional.. lore/idx.php.. learn/step_by_step_instruc shop/prod shop/product lore/email_ As you can see, none of those are actual pages - but truncated URLs of actual pages. Should I find a way to redirect these pages - or let them 404? Thanks!
Technical SEO | | dreadmichael0 -
Code for redirect
What is the code to redirect www.xyz.com/abc where abc is a folder to www.xyz.com/abc.html
Technical SEO | | seoug_20050 -
Wordpress 301 redirects
I use wordpress as CMS on a few sites and I noticed that word press automattically places 301s if I change a url etc. I believe it does it by having the following in the .htaccess file: BEGIN WordPress<ifmodule mod_rewrite.c="">RewriteEngine OnRewriteBase /RewriteRule ^index.php$ - [L]RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule . /index.php [L]</ifmodule> END WordPress Should I use this? I feel like it limits my control over the 301s.
Technical SEO | | mmaes0