301 Re-direct help
-
Hello Mozzers,
I have a technical question that perhaps someone has experience with and can help with.
I currently have 2 e-commerce websites:
SITE-A.COM (original site) & SITE-B.COM (new site)
SITE-B.COM is the newer site that has a lot of new products and new features and great content and is very user friendly.
We are thinking about funneling all of our visitors and traffic to SITE-B.com since it is the better experience for the users ...
the question is this:
If we want to 301 redirect all traffic from Site-A.com to Site-B.com ... where do we initiate those redirect requests? Would it be on the server for Site-A.com? If so, would i have to keep that server up and running forever if i don't want to lose the re-directs? Also, how do i do this properly without violating Google's guidelines?
Any help is appreciated.
Thanks
-
Not sure if this is the way it should exactly be handled, but here are some thoughts for consideration:
1. I'd consider pointing IP address of domain-A to IP address of domain-B, then set up a general 301 domain redirect for domain-A -> domain-B and then do 301 redirects per URL from domain-A to domain-B as applicable/relevant. The redirects would be setup to be managed on domain-b, as domain-a would be pointing to domain-b's server.
2. Since you're effectively "changing site address" here, so you'd want to ensure you have both sites and all versions setup in GSC (domain-a.com, www.domain-a.com, https://domain-a.com, https://www.domain-a.com domain-b.com, www.domain-b.com, etc., etc.) and then initiate a change of address for domain-a.com to go to domain-b.com.
Cheers
-
Actually, just for clarification:
Both domain names are registered at GoDaddy
Both domain-A & domain-B are hosted at Nexcess (on separate servers)
You wrote: “Now change the nameservers for DomainA from Server 1 > Server 2.”
Do you mean by that… to point both Domain names to the same name server that Domain-B is on?
Thanks again
-
Thank you so much for the detailed explanation.
I will check this out and get back to you with any questions or to report how this worked.
Thanks again - Happy Holidays!
-
Hi
From my understanding of above, SiteA and SiteB are setup on separate servers and I appreciate you won't want to be running two servers for the sake of keeping redirects alive. Firstly, I would recommend making sure you have a full and up to date backup of the sites.
Server 1:
Setup 301 redirects for everything from DomainA > DomainBServer 2:
Create the Addon Domain entry for DomainA to point to DomainB
Setup 301 redirects for everything from DomainA > DomainBNow change the nameservers for DomainA from Server 1 > Server 2.
- At this stage, you may experience some downtime whilst the domain propagates but because everything is setup and ready, any downtime should be minimal.
Once the domain has fully propagated, verify in Server 1 stats that the server is no longer receiving requests for that Domain to serve data and that all requests are being served from Server 2. <--- On confirmation of this, you can then go ahead and delete all data from Server 1 and shut it down.
Now everything is being served from Server 2. Monitor for any new 404 errors that may occur, in case you missed out redirecting any content and get these fixed with redirects as soon as possible.
Providing the structure of the URLs is the same, you shouldn't really encounter any 404 errors and from this point on, the 301 redirects only serve the purpose of maintaining any link juice from backlinks and ensuring your customers who are finding your site through referral links are landing on the correct pages. - If a user visits your site by entering the domain directly, the server will automatically direct them from DomainA to DomainB and from that point on, clicking any links within the site should keep the user on DomainB without having to perform redirects.
Then head over to Google Console and in the configuration tab for your site, there will be an option to notify Google about the "Change of Address" - complete this section.
Finally, to avoid any confusion from your customers I would recommend releasing a notice of some kind to inform your visitors that you have migrated to the new site.
I hope this information is helpful to you and of course if you have any questions at all, feel free to get in touch.
I hope you have a Great Christmas & a Happy New Year.
Best Regards
Ajaz
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
-
Robots txt. in page with 301 redirect
We currently have a a series of help pages that we would like to disallow from our robots txt. The thing is that these help pages are located in our old website, which now has a 301 redirect to current site. Which is the proper way to go around? 1- Add the pages we want to disallow to the robots.txt of the new website? 2- Break the redirect momentarily and add the pages to the robots.txt of the old one? Thanks
Technical SEO | | Kilgray0 -
Link juice and 301 redirects
Hi, I have a page with a lot of links going to it. I want to change the name of the page (thereby changing the URL). I can do a 301 redirect, but does a 301 send the "link juice" to the new page? The page in question is www.aerlawgroup.com/dui.html, and I want to change it to www.aerlawgroup.com/dui-lawyer.html. Thank you in advance for your time.
Technical SEO | | mrodriguez14400 -
301 with nofollow ?
Hi, our ecommerce link penalty was revoked by google back in Feb 26th 2013, but to this day we have not seen any improvement on our rankings. Due to 80% revenue loss we had to layoff quite a few people to stay alive. Situation now is more dire then ever for our company. We have millions of dollars invested in our business and google just busted it for some "low quality" or "spammy links" as they call it. We want to try to move to a different domain and do a 301 from the old domain to make sure our previous customers can still find us as a last effort to stay alive. But doing so we do not want to the bad links juice to flow to our new domain. Can we do a 301 with nofollow and will that have any negative impact or any impact at all.? any suggestion is greatly appreciated. Thank you Nick We are planning on moving to a different domain after 10 years, and laying off bunch of people due to loss of revenue.
Technical SEO | | orion680 -
Can I remove 301 redirects after some time?
Hello, We have an very large number of 301 redirects on our site and would like to find a way to remove some of them. Is there a time frame after which Google does not need a 301 any more? For example if A is 301 redirected to B, does Google know after a while not to serve A any more, and replaces any requests for A with B? How about any links that go to A? Or: Is the only option to have all links that pointed to A point to B and then the 301 can be removed after some time? Thank you for you you help!
Technical SEO | | Veva0 -
302 to 301 redirect confirmation
Hi guys, Fairly sure of the answer from what I've read so far, but I just wanted to doublecheck I have it right. Page A gets a significant amount of referring, followed traffic, and also ranks in Google. Page A uses a 302 redirect to Page B (on a completely different domain), which means that 0% of Page A's link juice is being passed on to Page B. If I were to change the 302 redirect to a 301 redirect, then the link juice passed on to Page A from the followed, referring traffic will be (mostly) passed on to Page B. Is that correct? Cheers, Jez
Technical SEO | | jez0000 -
301 redirectmatch
I think I'm starting to loss my mind. I have worked with regex before with very little problems how with my redirects nothing appears to be working. A little guidance is needed! The Low down I have a site with Joomla CMS backend. The site is undergoing and SEO overhaul I was simple hoping to use a 301 redirect o these old pages that are now a causing 404's The addresses /index.php?option=com_content&view=article&id=46&Itemid=53_blank /shop/product.php?id_product=11 I have tried the following redirects but no avail RedirectMatch 301 ^/shop/product.php?id_product=11$ http://www.nomitang.com/index.php/en/vm_getaway_w this does not work at all if I remove the ?.....ending then I can simply redirect the product page but this is not what we need. Why does RedirectMatch not register anything after the "?"? I also tried this RewriteCond %{HTTP_HOST} ?option=com_content&view=article&id=46&Itemid=53_blank [NC]
Technical SEO | | Stefan-Thorpe
RewriteRule ^(.*)$ http://www.nomitang.com/ [R=301,L] But this also didn't work. Please could someone tell me how to redirect these url's and how to deal with the extrension Thanks Stefan0 -
Has my 301 home page really worked?
Greetings from 53° 57′ 30″ N, 1° 4′ 49″ W otherwise known as York 🙂 I know a site i'm working on has two versions of the home page e.g.
Technical SEO | | Nightwing
http://www.davidclick.com & http://www.davidclick.com/index.htm This morning I delved into the bowels of the ht access file and this is what happened... Firstly i added redirect 301 /index.htm http://www.davidclick.com nope that broke everything 😞 I then amended to redirect 301 /index http://www.davidclick.com Can anyone re assure me ive done the right thing in terms of resolveing my home page canonical problem? Thanks in advance 🙂0 -
.htaccess help please
Hi there, Can anyone let me know what I need to add to my .htaccess file to make sure that the trailing slash on my domain gets redirected to my main domain name. For example, at the moment Google is seeing my primary domain as follows: http://www.mydomain.com http://www.mydomain.com/ I thought I'd covered off all possible duplication penalities but it look as though I've still got one left! Thanks very much for your help, Simon
Technical SEO | | theshortstack0