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
-
301 Redirects from Subdomain to Location Pages
I have a client site that is getting redesigned. Its a multi location service provider. Currently (for whatever reason) the location pages are sub domains. https://<location-name>.site.com/ In the new design the locations will be on the main domain. https://site.com/locations/<location-name> We are considering using 301 redirects from the current sub domains to the new location pages on the main domain. The current sub domains are setup on a multi-site with A records for each one in our GoDaddy account. Would like to get feedback on any unforeseen SEO issues that anyone might have input on.
Technical SEO | | ColeBField12210 -
301 or 302 or leave at 410
I have a client who manages vacation rental properties and those properties get links. If an owner pulls their property off the rental market the current status given is a 410 which I instinctively want turned into a 301. The problem is, often those properties come back online with the same URL so the question is, when a 301 is turned into a 200 - has anyone noticed a significant delay in time for that page to rank?I know technically it should probably be a 410 or maybe a 302 but ... you know ... the link weight. 🙂
Technical SEO | | BeanstalkIM1 -
Redirecting 301 or 302?
Hi, I think the part of this question has been already discussed, but not exactly the same, I think. My site requires authentication for member page. When a user try to go to member area, we redirect to 3rd party to do the authentication. 1. user clicks a link to www.mysite.com/member/contents.html
Technical SEO | | HypermediaSystems
2. www.myauthenticate.com/login?h=somehashuniquehash454859428778545 (enters id/pass)
3. login success => redirect back to www.mysite.com/member/contents.html We are doing it 302, temporary redirect. But moz crawler error seems to suggest we should do it 301.
So my question is:
A. Should we do it 301???
B. If we do 301, what happens to myauthenticate.com? since it has hashtag, I am afraid it could create a lot of duplicate contents on myauthenticate.com side... Thank you so much for your help in advance...0 -
301 redirect question
Hi Everyone When doing 301 redirects for a large site, if a page has 0 inbound links would you still redirect it or just leave it? Im just curious on the best practice for this Thanks in advance
Technical SEO | | TheZenAgency0 -
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 -
Site Got Hacked! Need Help!
Hi Guys. One of my friend's site got hacked 2 weeks ago, because of bad php script hole and Google indexed the pages which got hacked and all the Title Tags and Descriptions are indexed in the Google which is very embarssing situation. All adult content texts. Right now we have solved the problem and closed the hole submitted the new sitemap, but Google is no longer coming back and refreshining the SERP. We have been waiting for 3 weeks for now? What should we do? Methods we tried so far: 1.Cleaned all meta tags generate new sitemap and submitted that to Google 2.Built some backlinks 3.Built some social bookmarks Thanks!
Technical SEO | | DigitalJungle0 -
What would happen if 301 redirects were not in place
Good Morning from 14 degrees C sunny Wetherby UK 🙂 My question is please.... "When a new site is given a total makover ie old urls are re written to radically different ones I know if you dont set up 301 redirects the infamous 404 error page will rear its head. But i wonder if 301 redirects were not configured how long on average does it take google to index the new site and serp links finally point to the new site". Thanks in advance 🙂
Technical SEO | | Nightwing0 -
Re-write of url
Hi, I would like your input on the following dilemma I am wanting to target the keyword "download xml". at the moment Google indexes us on page 2 and indexes the page www.ourdomain.com/download.aspx I would like to rewrite the url to be /download-xml-editor.aspx The current page is a pr5 and is our most trafficked and externally inked to page. My thoughts are quite mixed on how to do this. approach 1: re-write url of "download.aspx" and setup permanent 301 redirect of download.aspx to download-xml-editor.aspx approach 2: create a new page called download-xml-editor and 301 redirect that to the current stronger page which is download.aspx approach 3: create new page called download-xml-editor with unique content and try and get that page to rank over time, allowing it to build up links and not compromise the current page, then later 301 redirect How would you deal with this and what are your recommendations
Technical SEO | | LiquidTech0