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.
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
-
301 Redirects in subfolders
Hi, we're making our site into a static site but I would like to transfer the Google juice. Most of the links and database exist on subfolders though. Could I simply do 301 redirects on the subfolders and retain the value or does it have to be on the full domain?
Technical SEO | | Therealmattyd0 -
Should we handle this redirect differently?
So our question is should we handle page redirection/rewriting in php or in .htaccess (with a specific problem we are running into outlined below). We have an ecommerce store in a subfolder of our site (example.com/store/). In the next folder down we have a group of widgets(www.example.com/store/widget-group1). Recently we put a .htaccess redirect in the top level folder (example.com/store/.htaccess), in order to re-write some URL’s and also 301 a page to another page. This seems to be negatively affecting our /widgets-group1/ subfolder however (organic traffic to example.com/store/widget-group1) took a nose dive 3 days after putting the .htaccess redirect in place on the /store/ folder and it has not recovered 8 days later). *Nothing appears outwardly wrong with the current setup to the eye when viewing the pages or requesting as googlebot (the only issue being the nose dive in organic traffic lol) *both subfolders are setup in apache config file to allow local overrides of .htaccess as follows: <directory store="" widget-group1="">Options -Indexes FollowSymLinks -MultiViews
Technical SEO | | altecdesign
AllowOverride All
Order allow,deny
allow from all</directory> <directory store="">Options -Indexes FollowSymLinks -MultiViews
AllowOverride All
Order allow,deny
allow from all</directory>0 -
Disallow: /404/ - Best Practice?
Hello Moz Community, My developer has added this to my robots.txt file: Disallow: /404/ Is this considered good practice in the world of SEO? Would you do it with your clients? I feel he has great development knowledge but isn't too well versed in SEO. Thank you in advanced, Nico.
Technical SEO | | niconico1011 -
Best Google Practice for Hacked SIte: Shift Servers/IP or Disavow?
Hi - Over the past few months, I've identified multiple sites which are linking into my site and creating fake pages (below is an example and there's over 500K+ of similar links from various sites}. I've attempted to contact the hosting companies, etc. with little success. Was wondering if my best course of action might be at this point: A) which servers (or IP address). B) Use the Google Disavow tool? C) both. example: { http://aryafar.com/crossings/200-krsn-team-part19.html } Thanks!!
Technical SEO | | hhdentist0 -
301 redirect from Blogger
Hello, I have a client with a Wordpress network of blogs, each blog is owned by a different blogger. Many of them were migrated time ago from Blogger. I have seen that the way used to redirect them is a meta refresh, so no authority is being passed. I cannot find any reliable way of making a 301 from Blogger, There are some plugins, but I'm afraid of using them. Any of you have experience with this situation please? I have even thought about placing a global rel canonical before the meta refresh, but I think that here the problem is the meta refresh itself.... Thank you in advance
Technical SEO | | Juandbbam0 -
301 redirects
At the moment it's possible to access the home page of my website via two different urls, with and without www. and you've told me that this can be resolved with Canonicalization and a 301 redirect. Do I do this with my web hosting package or in my html pages? If I can't do it with my web host (1&1) then is there an idiot's guide of how to do it yourself? I've also got both the domain vamospaella.co.uk and vamospaella.com. Is it better to have one of these redirecting to the other for UK traffic (at the moment .co.uk redirects to .com) Thanks
Technical SEO | | melissa10 -
Joomla 301 redirects
hi i am using joomla sef404 and i have 7000 not found pages in my webmaster google tool page. the trouble is i got rid of a lot of pages and also components so now i am left with loads of not found pages. what i want to try and do is to create 301 redirects so that i do not lose page rank. can anyone please let me know how to do this step by step please
Technical SEO | | ClaireH-1848860 -
Query String Redirection
In PHP, I'm wanting to store a session variable based upon a link that's clicked. I'm wanting to avoid query strings on pages that have content. My current workaround is to have a link with query strings to a php file that does nothing but snags the variables via $_GET, stores them into $_SESSION, and then redirects. For example, consider this script, that I have set up to force to a mobile version. Accessed via something like a href="forcemobile.php?url=(the current filename)" session_start(); //Location of vertstudios file on your localhost. Include trailing slash $loc = "http://localhost/web/vertstudios/"; //If GET variable not defined, this page is being accessed directly. //In that case, force to 404 page. Same case for if mobile session variable //not defined. if(!(isset($_GET["url"]) && isset($_SESSION["mobile"]))){ header("Location: http://www.vertstudios.com/404.php"); exit(); } //Snag the URL $url = $_GET["url"]; //Set the mobile session to true, and redirect to specified URL $_SESSION["mobile"] = true;header("Location: " . $loc . $url); ?> Will this circumvent the issue caused by using query strings?
Technical SEO | | JoeQuery0