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
-
Direct To Site Traffic Decline
Hi Everyone, My company's site went from Http to Https and responsive design last year. After 6 months passed, we noticed a 40% decline from direct visits but revenue saw an increase. Could the 301 redirects from Http to Https cause the drop in direct traffic? Thanks!
Technical SEO | | JMSCC1 -
Help: buy domain from Tradenames.com?
Hello to all, I'm Silvia. I am writing to ask if any of you know this site: tradenames.com. It is a domains broker. They contacted my client and would like to sell the .com business domain (my client currently has the .it). Does anyone know them? Thanks you for your help.
Technical SEO | | advmedialab0 -
How best to fix 301 redirect problems
Hi all Wondering if anyone could help out with this one. Roger Bot crawler has just performed it's weekly error crawl on my site and I appear to have 18,613 temp redirect problems!! Rather, the same 1 problem 18,613 times. My site is a magento store and the errors it is giving me is due to the wishlist feature on the site. For example, it is trying to crawl links such as index.php/wishlist/index/add/product/29416/form_key/DBDSNAJOfP2YGgfW (which would normally add the item to one's wishlist). However, because Roger isn't logged into the website it means that all these requests are being sent to the login url with the page title of Please Enable Cookies. Would the best way to fix this be to enable wishlists for guests? I would rather not do that but cannot think of another way of fixing it. Any other Magento people come across this issue? Thanks, Carl
Technical SEO | | daedriccarl0 -
301 redirects without .htaccess
I have a client that recently moved from an old ZenCart e-commerce site to Volusion. The domain name did not change. We need to redirect a bunch of the old URLs; however, Volusion's redirect tool does not work for URLS with "?" . The old ZenCart structure is: http://www.mydomain.com/index.php?main_page=product_info&products_id=563 Volusion is a hosted platform and we do not have access to the .htaccess file. Any suggestions on a workaround? Thanks!Nancy <colgroup><col width="960"></colgroup>
Technical SEO | | NancyVPS
| |0 -
Canonical tag or 301
Hi, Our crawl report is showing duplicate content. some of the report I am clear about what to do but on others I am not. Some of the duplicate content arises with a 'theme=default' on the end of the URL. Is this version of a page necessary for people to see when they visit the site (like a theme=print page is) in which case I think we should use a canonical tag, or is it not necessary in which case we should use a 301? Thanks
Technical SEO | | Houses0 -
We have set up 301 redirects for pages from an old domain, but they aren't working and we are having duplicate content problems - Can you help?
We have several old domains. One is http://www.ccisound.com - Our "real" site is http://www.ccisolutions.com The 301 redirect from the old domain to the new domain works. However, the 301-redirects for interior pages, like: http://www.ccisolund.com/StoreFront/category/cd-duplicators do not work. This URL should redirect to http://www.ccisolutions.com/StoreFront/category/cd-duplicators but as you can see it does not. Our IT director supplied me with this code from the HT Access file in hopes that someone can help point us in the right direction and suggest how we might fix the problem: RewriteCond%{HTTP_HOST} ccisound.com$ [NC] RewriteRule^(.*)$ http://www.ccisolutions.com/$1 [R=301,L] Any ideas on why the 301 redirect isn't happening? Thanks all!
Technical SEO | | danatanseo0 -
301 by category rather than page?
Hi Guys It is possible (and best practice) to 301 a category as a whole rather than every page within the category. I was asked this by a developer the other day, and it was something I'd not considered before as I've always done it by page. It seems there's some wordpress plugins out there that do it. Thanks in advance.
Technical SEO | | PerchDigital0 -
What are SEO factors in re-doing a website?
Most of my work now involves converting older websites to CMS-based sites (in Wordpress) and I'm wondering about best practices here. If I create a "dev" or "sandbox" directory for my development work how do I keep the pages from being indexed while I am working on the new site? Can I "noindex" a directory? What do I do with the old html files when the new site goes live? I'm assuming I will do a 301 redirect from domain.com/index.html to the new domain.com/, and also on all of the inner pages that have equivalent pages in the new site. But there will be a lot of old files left that have no equal in the new site. Do I just delete these, or noindex nofollw them?
Technical SEO | | bvalentine0