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
-
Help Crawl friendliness for large site
After watching Rand's video I am trying to think of the best way to make my large site more crawl friendly. Background I have a large site with over 100k product skus and so when you get to a particular page of products there are tons of different refinements and options that help you sort the products. Most of these are noindex followed, but I was wondering if I should be nofollowing the internal links as well in order to keep bots out of those pages and going to the pages that I want them to go too. Is this a good way to handle it? Also, does anyone have good recommendations of links to posts that deal with helping the crawl friendliness of a large site? Thanks!
Technical SEO | | Gordian0 -
Shutting down a site, where do I 301 it?
I'm working with a few international sites that we are going to collapse into one main site. Our current plan is to 301 the 4 other sites into our main site home page. Is this ok? Is there a better way to do this? Thanks
Technical SEO | | MarloSchneider0 -
Junk/ Spammy Links Help
I am trying to get rid of all of the junk/spammy links from a site. Problem I am running into is OSE is only showing 7 links and there are way more than that. Is there a reason for only a few links are showing? How would I go about seeing all the links so I can get rid of them? Thank you in advance, Scott
Technical SEO | | scottdrost0 -
301 redirects on Windows server
Hi, We are soon moving www.ourumbrellaorganisationwebsite.co.uk/oldsubsidiaryname/index.aspx AND www.differentolddomainname.co.uk to just www.ourumbrellaorganisationwebsite.co.uk (an existing site which will no longer have the old subsidiary name sub section). How do we do the 301 redirects on a Windows server? Helicon has been suggested but I don't know it. I know we need to 301 redirect 'old' pages to the equivalent new ones, but is it a problem to do all of the old pages (there are lots) or should we just just do a few? is there ever a downside to doing individual redirects for an entire old site? Also, once the 301 redirects are in place from the old domain, is it possible to let the old domain expire and if so, at what point? Thanks
Technical SEO | | Houses0 -
How can you tell if a 301 has been set up correctly?
How can you tell if a 301 has been set up correctly. We had a .co.uk site that has moved over to a .com However the .co.uk we have hasd problems with the old webmaster giving control, but he has said he has implemented a 301 redirect to the new .com site, and if you click on .co.uk it does transfer you to the .com site How can we check that it is a 301 set up and not another sort of redirect?
Technical SEO | | ocelot0 -
Is it possibly to use anything besides a 302 re-direct when your doing a re-direct for someone to login?
Hopefully this makes sense. So I am working on a site that uses a 302 re-direct for logins. As in it goes from a profile page to the login via a re-direct, most of the time I see sites use this as a meta refresh, but in this case I wasn't sure. Obviously when I run a crawl diagnostic I'm getting a lot of errors as in over 100. Now I know there is no link juice with this, but I was just wondering what other people thought on using 302's for logins? Thanks
Technical SEO | | kateG12980 -
If I 301 re-direct a piece of content (A) to another piece of content (B) and B is unrelated in subject matter to A, will the referring search keywords to content piece A hold for content piece B?
For example, I have a piece of content about furniture and it ranks in top 5 in the SERPs for the phrase "furniture". If I were to 301 redirect that piece of furniture content to a piece of content about trucks, would the referring keyword "furniture" continue to rank over time for the trucks content? My instincts tell me that in the short term the content piece about trucks would receive traffic for the term "furniture", but over the long term, the trucks content would lose rankings for the term "furniture" since the piece has to do with trucks and not furniture. Any thoughts?
Technical SEO | | pbrothers240 -
301 Redirection of entire section to the homepage
Hi Guys, So here's the deal. Let's say I have a site at mysite.com/ which talks about tomatoes, and I also have a subsection that talks about potatoes at mysite.com/potatoes I want to stop providing information about potatoes altogether so i'm thinking about doing a 301 redirection from all of the pages at mysite.com/potatoes(.*) to the home page. The thing is, mysite.com/potatoes actually has a great page authority (3475 links from 145 domains) so I really don't wan to lose all that juice... Here are my questions: Will the links be added to the ones i have for the homepage already? Since my home page and my /potatoes section ranked for 2 different subjects, how is this transfer going to affect my rankings for the homepage? will it now also rank for both tomatoes AND potatoes? How much time does it usually take for google to recognize the 301 and pass the link juice? Any other tips on optimizing this process? Thank you for your time! -francois
Technical SEO | | nyakim0