My client wants to change domain name... Redirect help!
-
Hello,
I have a client who wants to change domain names. The site is designed using WordPress, there are many plugins that will redirect links but they have to be same domain links. When I change the domain I would like to redirect all the old links to the same pages on the new url. How do I accomplish this? The plugin redirection or Yoast will not allow a redirect from one domain to another.
Thanks for any help on this matter. I have 200+ Urls to redirect.
-
As long as the ONLY thing you're changing is the domain name (e.g. all URLS within WordPress will remain identical) the redirect process can be accomplished with a single rewrite rule in your site's htaccess file. There's no reason to write (or bog down your system with) a redirect for each individual page URL.
The configuration of this redirect will depend on whether the primary URL uses the www prefix or not, and whether it uses https.
In addition to the rewrite rule, you need to verify the new domain in Google Search Console (and transfer any preexisting disavow file to it if one existed for the old domain) as well as using the change of address tool to further inform Google of the change.
To help speed up the indexing of the new domain, it can be helpful to leave the old xml sitemap in place for a week or two so that search engines can more quickly discover the redirects. It's also beneficial to try to get at least some of the most powerful existing incoming links from other sites updated to point to the new domain. This takes direct outreach to the other site owners with the request, but it can help rescue some of the slight loss of ranking authority lost through the redirect, and is another good signal to Google of the change.
Finally, be sure you've updated the domain name in your Google Analytics account as well.
Hope that helps?
Paul
-
Hi Donald
If you're going to be doing this yourself, I'd read up on all the links posted by Andy and preferably find more on how to change domain names. If you don't do it properly your clients site can take a huge hit in visibility. You don't want that - trust me.
What I'd do is make a spreadsheet of every single URL on the old site and what that URL will be called on the new site. If you keep the site & URL structure the same, this should be fairly straightforward. But once you have your list, you should add them to your .htaccess to make sure you do a one-to-one redirect. That way the individual URLs should keep most of their juice and you minimize the losses.
But just be sure you know exactly what you're doing - otherwise it can hurt a lot more than it should.
-
Yes..it is domain level redirect you can achieve this through htacess file.
-
No, you need to redirect all URLs...
Have a read of this on using the change of address tool in Google.
- Set up server-side redirects (301-redirect directives) from your old URLs to the new ones. The Change of address tool won't function without it.
-Andy
-
Hi Ikkie,
do you mean a domain level redirect? such as hgt.com redirected to hgtnow.com and not worry about redirecting each link from their hgt.com/1 to their hgtnow.com/1 counterpart?
-
Hi Donald,
The very best starting point is by reading the Google guides on moving a site.
https://webmasters.googleblog.com/2008/04/best-practices-when-moving-your-site.html
I don't actually know about plugins for Wordpress that will do this but your solution is going to lie around making the required changes in your .htaccess file. There is a lot of information out there on how best to do this, but this is what you need to be looking at.
-Andy
-
Hi
Just simply use 301 redirect to your new domain; this will bring you not only the traffic of your existing site as well as the backlinks and juice of those back links to your site.
I believe, this will behave in the same manner with plugins based links as well.Just make sure you follow the guidelines and you do it properly.
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
-
Have issues about expired domain? How to work on it? How to redirect?
Using expired domains to redirect on your site? For this you need to first Active your expired domainsand put two to three articles After google will got it that its now active and so google start crawling after that you need to put same articles that you created on expired site on your new site with same urls Now make a wild card redirect to exact urls or posts you created on your site
Intermediate & Advanced SEO | | LyleTLai0 -
Hi. Has anyone seen a drop in their PA recently? We have over 40 clients and 80% dropped and it has been like this for the past 2 months. I wanted to check if other websites are also experiencing this drop or is it just us?
I'm specifically asking for drops happened in the last 2 months, because before that we had a normal trend. Some websites would go up in their PA rankings and some would drop. But seeing 80% of our clients drop like this is just weird. Just wanted to see if other market leaders are also having the same issue so I can stop attributing it something X-Filish! Our clients are all .EDUs if anyone was wondering. Also the maximum drop has been 4 points in a month.
Intermediate & Advanced SEO | | AP_Search0 -
Domain authority a better metric then referring domain count?
Hi Guys, When reviewing competitors what would be a better metric - Referring domain count OR domain authority. From my understanding DA is a indication of the quality of the link profile. So if a site has a high DA this is a better metric for comparison then referring domain count. What are your thoughts on this? Cheers/
Intermediate & Advanced SEO | | cathywix0 -
How to switch brand domain and address previous use of domain
We recently acquired a new domain to replace existing as it better fits our brand. We have little/no organic value on existing domain so switching is not an issue. However the newly acquired domain was previously used in a different industry and has inbound links with significant spam scores. How can we let Google know that these links are not valid for our business and start rebuilding reputation of the domain? Disavow tool?
Intermediate & Advanced SEO | | Marlette0 -
How do you 301 redirect URLs with a hashbang (#!) format? We just lost a ton of pagerank because we thought javascript redirect was the only way! But other sites have been able to do this – examples and details inside
Hi Moz, Here's more info on our problem, and thanks for reading! We’re trying to Create 301 redirects for 44 pages on site.com. We’re having trouble 301 redirecting these pages, possibly because they are AJAX and have hashbangs in the URLs. These are locations pages. The old locations URLs are in the following format: www.site.com/locations/#!new-york and the new URLs that we want to redirect to are in this format: www.site.com/locations/new-york We have not been able to create these redirects using Yoast WordPress SEO plugin v.1.5.3.2. The CMS is WordPress version 3.9.1 The reason we want to 301 redirect these pages is because we have created new pages to replace them, and we want to pass pagerank from the old pages to the new. A 301 redirect is the ideal way to pass pagerank. Examples of pages that are able to 301 redirect hashbang URLs include http://www.sherrilltree.com/Saddles#!Saddles and https://twitter.com/#!RobOusbey.
Intermediate & Advanced SEO | | DA20130 -
Danger in using utm_source and utm_medium to track tens of thousands of cross domain redirects
We just merged with another company and are redirecting their domains (competitive/similar content) to our own. We'll have several domains, redirecting (301) several hundred thousand URL's to our domain (not all the same page, very unique mappings). Will adding utm_source, et al parameters to the URL's have a negative impact on how google transfers value to the pages based on the redirect authority passed? Any points of view? We have a self referencing canonical, but given that we have 90 million pages on the current domain (and climbing), seems like cleanest approach would be to not use redirects. Thanks, Jeff
Intermediate & Advanced SEO | | jrjames830 -
Domain Choise
Hello, Im working a e-commerce shop, and my question is about choosing the domain. Presently the website is not performing good with the domain www.casaobjecto.com, that is the brand name of the shop. Now I have made my analysis about keywords and conclude that it would be very interesting to have a domain name with the main keyword that im targeting. The domain is available. If I choose the maintain the www.casaobjecto.com as main domain and the other keyword domain pointing to that site, whats the influence that can take in the keyword im looking for? Or should I replace the target keyword domain (becomes the main domain) by the brand domain name? Whats the best choice? Tks in advance, Pedro M Pereira
Intermediate & Advanced SEO | | PedroM0 -
Sub domain versus separate domains, which is better for Search engine purposes?
We are pitching to a hotel client to build two new websites, a summer website and a winter website, two completely different looking websites. The client wants to automatically switch their domain name to point to one or the other, depending on the time of year. The customer does not want to use a landing page where you would choose which site to visit; they want the domain name to go directly to the relevant website. Our options: Set up two new domain names and optimise each website based on the holiday season and facilities offered at that time of year. Then change the exisiting domain name to point at the website that is in season. Or Use the existing domain name and setup two sub domains, switching the home page as necessary. We have been chewing this one over for a couple of days, the concern that we have with both options is loss of search visibility. The current website performs well in search engines, it has a home page rank of 4 and sub-pages ranking 2 and 3’s, when we point the domain at the summer site (the client only has a winter website at present) then we will lose all of the search engine benefits already gained. The new summer content will be significantly different to the winter content. We then work hard for six months optimising the summer site and switch back to the Winter site, the content will be wrong. Maybe because it's Friday afternoon we cannot see the light for the smoke of the cars leaving the car park for the weekend, or maybe there is no right or wrong approach. Is there another option? Are we not seeing the wood for the trees? Your comments highly welcome. Martin
Intermediate & Advanced SEO | | Bill-Duff0