301 Redirect from Old Domain to New Domain
-
I am building a new website and I plan to 301 Redirect my Old Domain (olddomain.com) to a brand new Domain (newdomain.com) in the upcoming months.
To do this I was planning to update the htaccess file on both the old and new domains.
The htaccess file on the old domain would look to 301 redirect all pages on the old domain to the new domain. The htaccess file on the new domain would detail any specific URL redirects I want to implement (ie. olddomain.com/EXAMPLE/TEST will redirect to newdomain/TEST) - this will ensure link equity is retained and bounce rates are kept at a lower level.
Does this sound like the right approach?
Also, what do I need to do with the old domain going forward? Do I need to keep this forever in order for the 301 redirect to work or can I eventually just forward the domain to the new one permanently?
-
A page to page redirect from the old site to the new site is the ideal but you might cut corners by just redirecting those pages that are bringing you in search traffic and those that have external links to them. You don't need to put any redirects on the new site's .htaccess file, though. The traffic from the old site will already knows which page to request based on your changes to the old site's .htaccess file.
Best practice is to leave your 301 redirect in place is 180 days.
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
-
New Website
With all the changes in web design, I feel it best to seek advice from my fellow Mozzers. We are definitely going with a custom design and I know it MUST be responsive and faster load speed than we currently employ. What other requirements should I seek from our designer? Approximately 50 product pages w/ ECWID shopping cart holding a dozen or less products. TY,
Web Design | | KevnJr
KJr0 -
Redirection Problem
Wondering if anyone could offer some tips here please. I cannot share the site name so will try and be as detailed as possible. My client had their site on a .com domain and have decided to move to a co.uk domain. The new site has been put on the uk domain with more or less the same structure, save for pages which have been removed or merged. I am now setting up 301 redirects to tell the engines about the moved site, however this is giving me no end of grief. I can get domain.com to redirect to domain.co.uk no problems, however, if I try and redirect any of the inner pages to their new locations they all end up on the .co.uk home not where they should be. Given the homepage isn't designed to rank for all the terms. The htaccess I am using is below, I cannot see anything wrong with it, can anyone else? Redirect 301 / http://newdomain.co.uk/
Web Design | | carl_daedricdigital
Redirect 301 /villa_rental.php http://newdomain.co.uk/villa_rental.html
Redirect 301 /new_home.php http://newdomain.co.uk/new_home.html
Redirect 301 /http://newdomain.com/villas.php http://newdomain.co.uk/villastyles.html
Redirect 301 /developments.php http://newdomain.co.uk/developments.html
Redirect 301 /solana_hills.php http://newdomain.co.uk/solana_hills.html
Redirect 301 /middle_east.php http://newdomain.co.uk/middle_east.html
Redirect 301 /denia.php http://newdomain.co.uk/denia.html
Redirect 301 /faq.php http://newdomain.co.uk/faq.html I have tried both relative and full paths for the old site but doesn't make any difference. Does it matter the old site is php and the new html? many thanks0 -
New website and new domain
Hi, We have a domain with current e-commerce site on, about 5 years old. We have a new website being built with a different company and a new domain name. We are transferring our old domain over to new provider and 301'ing the domain to new domain. However, we can not take the current website with us, so we lose all our links/pages etc.. How important would it be to take a wrap of our current website to keep all the pages alive? Is there anything we can do so oldurl.com/brand/tshirt/ doesnt lose its rank? Can we 301 individual pages if we dont have the actual website? Just the domain name. Any help be great. Thanks
Web Design | | YNWA0 -
What happens if I 301 Redirect my homepage to a different page on site
If i were to 301 redirect the index page of my website to a page in a different subdirectory of my site would that adversely affect SEO? Does your home page need to be in the root of your site? I'm asking because a developer has told me that it would be best to do that since he needs to install OpenCart on the root of our domain...
Web Design | | SheffieldMarketing0 -
301 redirects from old site to new
hey all, we just did a site redesign and have less pages on the new site than the old. is it bad to redirect multiple pages from the old site to the same page on the new? for example redirect ...com/apps ...com/android ...com/mobile and point them all to....com/custom-apps thanks!
Web Design | | jaychow0 -
Do I need to redirect soft 404s that I got from Google Webmaster Tools?
Hi guys, I got almost 1000+ soft 404s from GWT. All of the soft 404s produce 200 HTTP status code but the URLs are something like the following: http://www.example.com/search/house-for-rent (query used: house for rent) http://www.example.com/search/-----------rent (query used:-------rent) There are no listings that match these queries and there is an advanced search that is visible in these pages. Here are my questions: 1. Do I need to redirect each page to its appropriate landing page? 2. Do I need to add user sitemap or a list of URLs where they can search for other properties? Any suggestions would help. 🙂
Web Design | | esiow20130 -
.me.uk or .com domain with hyphen?
Hi Mozzers Just after some opinions really. Basically a client wants a restaurant website developing and had already chosen a name for it as (example) "englishroserestaurant.co.uk". They wanted to register it themselves but unfortunately before they had time to someone else did. Now they have come back to me and said about using the name (example) "englishrose.me.uk". I know these .me.uk names are supposedly for personal websites and not businesses but I assume that, by itself, shouldn't be an issue as there are many commercial sites that do use them. However as all the combinations have been taken I have suggested that they use a "domain-domain.com as an alternative so just wanted to know which option you guys would go for out of: 1. englishrose.me.uk 2. english-rose.com Although I avoid hyphens whenever I can in this instance 100% I would go for number 2 as it's only one hyphen and it's a business and looks more professional......having said that I would welcome any comments or opinions. Thanks in advance.
Web Design | | TrevorJones0 -
Site Ranks on Page 1 - Would launching new site hurt that
Hello, I currently have a website ranking in the top 7 for my main keyword. The website was built in 2004 and is definitely outdated, yet still ranks very high and brings in business. If i launched a new site on this domain, what would happen to my rankings? Would they drop? would they rise? If i don't launch the new site, will this site eventually drop due to being old and outdated? Any advice would be helpful...
Web Design | | Prime850