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
-
301 redirects
One of our employees took an SEO class recently. She was told that having too many 301 redirects can hurt SEO. I have never heard of 301 redirects as having a negative impact. Any thoughts?
Intermediate & Advanced SEO | | Smart_Start0 -
My client wants to apply schematic markup to their iframe youtube video. Is this possible?
I have a client that wants to apply video object schema to their iframe youtube video. Here is the source code: <iframe src="http://www.youtube.com/embed/clientvideo" width="272" height="202" frameborder="0" allowfullscreen=""></iframe> Is it possible to apply schema markup to this kind of iframe source code? Our development team was having a hard time with it. Thanks!
Intermediate & Advanced SEO | | RosemaryB0 -
Domain Change behind Drop in DA from 49 to 9?
Hi, We have recently gone through a domain change and thought we had done this by the book. We 301'd the old site extensively and optimized our new site as best we can. All done with the help of a leading agency. However our old site had a DA score of 49 and checking our new site's DA almost 3 months after the changes its scores 9! Furthermore with rankings 2-3wks after the change we saw small drops (1-3 positions), 3-10 weeks saw more gradual slides but remaining page 1 for most terms. Currently some core terms are slipping back to page 2. I have the below question on this and would like you to get your opinions and views. After a well planned domain change would its be expected that the DA score would remain in the same region or is a drop like this normal? Is the domain change the most likely cause of this drop or are there other factors that may cause this? What is the best approach for trouble shooting this situation?
Intermediate & Advanced SEO | | SEO-SMB0 -
"sex" in non-adult domain name
I have a client with a domain that has "sex" in the domain name. For example, electronicsexpo.com. The domain ranks for a few keywords related to the services offered. It is an old domain that has been online for over 10 years. It ranks well for local keywords. No real SEO effort has been made on this domain, so it is rather a clean slate. I am going to be doing SEO on this site. Will the fact that the word "sex" exists in the name have any sort of negative consequence. There is ABSOLUTELY NOTHING adult related or pornographic on this site. I would think that search engines are sophisticated enough to differentiate, but would potential customers with things like parental filters be blocked from viewing content? Is this hurtful in anyway? If so, would I be better off changing domain names? TIA
Intermediate & Advanced SEO | | inhouseseo0 -
301 redirects in Wordpress vs. making old posts that you no longer want your audience to see private.
I'm working on Wordpress at the moment changing the content of a page on my website. The page has a lot of educational information and each section is unique. I had to go through and edit each section on google documents and now I'm posting all the new pages and making the old pages private on wordpress. Is this a good idea? I'm worried google will still crawl my private education pages and think these are duplicates since the new pages somewhat resemble the old. Also, should I be 301 redirecting all the old education pages to the corresponding new ones even if they are private on wordpress? I understand that the 301 redirect should only be used if you want the old page to go to a new one. What i don't understand id weather this will still be relevant or work if I've already made the old page private on wordpress. Thank You!
Intermediate & Advanced SEO | | SapphireCo0 -
Losing Rank As A Result Of Domain Change
I have a client who is wishing to switch from an established, but unattractive domain, to a domain he just purchased that is more attractive. For example purposes, his existing site is "His-Company-Website.com" and the site he just purchased and wants to transfer to is "HisCompanyWebsite.com." The only difference is the old site has hyphens in between the words and the new one does not. He is not making this choice from an SEO perspective, but more of a "I don't want to keep saying all those hyphens when telling people about my website." But he said he doesn't want to lose his search engine rankings as a result. So he knows this won't necessarily increase his ranks, but doesn't want them to drop as a result. When speaking with him, I thought we could simply toss in a 301 redirect at the root level and pipe them over to the other site, but he wanted some actual proof. I went back to look at what I thought would be a similar case that I did earlier in the year (transferring from a .net to a .com) and noticed that we did see some rather substantial drops in at least traffic, so I am not so sure about this plan any longer. So my questions for my far more insightful colleagues... What would be your suggestion on this problem? Transition to the more user friendly domain or stick with the unfriendly domain? If he does elect to transition to the new domain, what all can I do to preserve his search engine rankings? Should a rankings and/or traffic drop be predicting when completing this? Thank you all in advance. Any other tidbits anyone has to offer would be great. Looking forward to your replies.
Intermediate & Advanced SEO | | ClayPotCreative0 -
Redirecting a Page from Domain A to Domain B
We have a page on Domain A, an established and well-ranking website, that would be more appropriate on Domain B, a site that we launched about two years ago. This page ranks well, pulls nice search traffic and has traffic from external links. We would like to move the page and its traffic from Domain A to Domain B using a 301 redirect. Have you ever done this or have you heard of how it has worked for someone else? Thanks!
Intermediate & Advanced SEO | | EGOL0 -
Domain change - slow & easy, or rip off the bandaid?
We are laying the foundation for a domain change. I'm gathering all of the requirements listed from Google (301's, sign up the new domain with WMT, etc), customer communications, email system changes, social updates, etc. But through everything I've read, I'm not quite clear on one thing. We have the option of keeping our current domain and the new domain running off the same eCommerce database at the same time. This means that we have the option of running two exact duplicates simultaneously. The thought is that we would slowly, quietly turn on the new domain, start the link building and link domain changing processes, and generally give the new domain time to make sure it's not going to croak for some reason. Then, after a week or so, flip on a full 301 rewrite for the old domain. There are no concerns regarding order databases, as both domains would be running off of the same system. The only concern I have in the user experience is making sure I have internal links all set to relative, so visitors to the new domain aren't flipped over and freaked out by an absolute URL. I'm not confident that this co-existing strategy is the best approach, though. I'm wondering if it would be better from an SEO (and customer) perspective to Have the new domain active and performing a 302 redirect from the new domain to the corresponding page on the old domain When we're ready to flip the switch, implement the 301 redirect from old to new (removing the 302, of course) at switch time. Any thoughts or suggestions?
Intermediate & Advanced SEO | | Goedekers0