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
-
Redirects Being Removed...
Hi We have a team in France who deal with the backend of the site, only problem is it's not always SEO friendly. I have lots of 404's showing in webmaster tools and I know some of them have previously had redirects. If we update a URL on the site, any links pointing to it on the website are updated straight away to point to the most up to date URL - so the user doesn't have to go through a redirect. However, the team would see this as the redirect not being 'used' after about 30 days and remove it from the database - so this URL no longer has any redirects pointing to it. My question is, surely this is bad for SEO? However I'm a little unsure as they aren't actually going through the redirect. But somewhere in cyber space the authority of this page must drop? Any advice is welcome 🙂
Intermediate & Advanced SEO | | BeckyKey0 -
Domain Name Migation + HTTPS?
One of our clients is considering migrating their domain name _and _changing protocol (http to https), as well as changing hosting providers, at the same time. Is it fine to make the changes at the same time, or would you recommend 'phasing' the migration?
Intermediate & Advanced SEO | | ThreeShips1 -
Redirect ot new domain
Hello, Can someone give me advice on this specific situation: For now we have a website www.website.com/ Because of some specific business situation we want to move to .ca version but also we want to keep website.com - for U.S customers. Here's how I imagined to do this: 301 Redirect from www.website.com to website.ca. Because at this time website.com redirects to www.website.com I would remove the redirect and just keep it like website.com (so this will be new domain). Is this is the right solution? Regards, Nenad
Intermediate & Advanced SEO | | Uniline0 -
Sub domain on root domain
Hello,
Intermediate & Advanced SEO | | dror999
I have a question that I can't find a good answer on.
I have a site, actually a "portal"/ "directory" for service providers.
Now, for start, we opened every service provider own page on our site, but now we get a lot of applications from those providers that thy want sites from their own.
We want to make every service provider his own site, but on sub domain url. ( they don’t mind… its ok for them)
So, my site is www.exaple.com
There site will be: provider.exaple.com
Now I have two questions:
1. can it harm my site in SEO?
2. if one from those sub domain , punished by google because is owner do "black hat seo" , how it will affect the rood domin? It can make the root domain to get punished?
Thanks!!0 -
Should we move a strong category page, or the whole domain to new domain?
We are debating moving a strong category page (and subcategory, product pages) from our current older domain to a new domain vs just moving the whole domain. The older domain has DA 40+, and the category page has PA 40+. Anyone with experience on how much PR etc will get passed to a virgin domain if we just redirect olddomain/strongcategorypage/ to newdomain.com? If the answer is little to none, we might consider just moving the whole site since the other categories are not that strong anyway. We will use 301 approach either way. Thanks!
Intermediate & Advanced SEO | | Durand0 -
Duplicate titles but redirecting anyway (without redirects set up!!!)
Google has done a crawl of my site and is flagging up duplicate titles on my wordpress site. This appears to be due to the face that some posts are tagged in more than one category. I have just gone to make sure that each post just has one category and add redirects and I've noticed that all the duplicate title issues google has notified me about appear to redirect anyway. For example: http://www.musicliveuk.com/latest-news/live-music-boosts-australian-economy and http://www.musicliveuk.com/live-music/live-music-boosts-australian-economy have duplicate titles apparantly but the 1st url redirects to the 2nd one. I use the redirection plug in but have no redirection set up for that url so I'm a bit confused. And if they're redirecting anyway then why is google flagging up duplicate titles? Any help would be much appreciated.
Intermediate & Advanced SEO | | SamCUK1 -
Thanks for the help!
I just wanted to say thank you all for the advice you've given on this board. When I first joined we had been stomped by Panda three times and our traffic was down about 40% from last year. Since then, we've followed recommendations here and while we aren't quite back to where we were before, our traffic for the last three days from Google is higher than any time since May and trending higher. We are also up in Google rank for 70% of our tracked keywords and showing up for 15% that we weren't even on the radar for in August. We still have a lot of work to do but know that we are on the right track. We can now do the same on a site that survived the initial hit but got slapped in July. I just want to reiterate what others have said: Get rid of duplicate urls - 301 redirect all dups to a single page Flesh out or drop pages with low content value Find 404 pages that used to exist and instead of 404s, 301 redirect to current resources Fix speed issues This forum was well worth the subscription.
Intermediate & Advanced SEO | | IanTheScot1 -
301 from penalized domain to new domain
I have a client whose site isn't necessarily penalized since they still show for many terms in the SERPS, however at one point they did an xrummer blast of 13,000 links for two anchor texts they were trying to rank for. They have purchased a new domain and have gone white hat and want to 301 some of the old site to the new purely for the users sake so past visitors still find them at t the new location. Will creating 301 redirects pass on to the new domain any bad Karma from the old one in Google's eyes? Thanks for the help.
Intermediate & Advanced SEO | | JoshGill270