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
-
My website is my name. Overnight it went from being the number one google search to not showing up at all when you google my name. Why would this happen?
I built my website via square space. It is my name. If you google my name it was the number one hit. Suddenly 2 weeks ago it doesn't show up AT ALL. I went through square spaces SEO check list, secured my site etc. Still doesn't show up. Why would this happen all of the sudden and What can I do? Thank you!
Intermediate & Advanced SEO | | Jbark0 -
Is an iframe redirect on the same Domain bad for SEO
Good morning. We have a vendor that has created a landing page with content that we want to use. Because of the way we built the site, the only way to use the content is to create an i-frame. The i-frame is re-directingon the same Domain. Would we benefit from the SEO Content?
Intermediate & Advanced SEO | | jdenbo_edf0 -
Changing domain names but still ranking as old one
Hi there, I have a client who changed domain names back in November 2015 but is still coming up in search engines with their old domain name not their new one. For example, I search for my clients name, let's call them Example B. So I search for "Example B" and within the search results they come up top and the title tag is correct as it says something along the lines of "Welcome to Example B". However the URL underneath is actually their old name which is Example A. When you click on the link, it redirects over to the new name so thats fine, but it's just annoying that Example A is still appearing when it should be Example B now. I don't think they have a new Webmaster Tools account setup for their new domain (I need to check still), but they do still have their old one setup. Is there something I can do within Webmaster Tools to tell it that Example A is now gone and to start indexing and referring to them as Example B? What else should I do to make sure their new name is coming up not their old one anymore?
Intermediate & Advanced SEO | | Virginia-Girtz1 -
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 -
Best practice for duplicate website content: same root domain name but different extension
Hi there I have a new client who has two websites: http://www.bayofislandsteambuilding.co.nz
Intermediate & Advanced SEO | | turnbullholdingsltd
http://www.bayofislandsteambuilding.org.nz They are the same in every regard apart from the domain extension (.co.nz & .org.nz) which is likely to be causing them issues with Google ranking given the huge amount of duplicate content. What is the best practice approach to fixing this? Normally, if I was starting from scratch, I would set one of the extensions as an alias which redirects to the main domain. Thanks in advance. Laurie0 -
City or country name get the exact domain name devauation ?
Will using a city or country name be devalued with the exact domain name update. I want to make a new website about my favourite vacation spot. I was thinking www.specificislandactivities.com or www.bestincityname.com The site will focus on all the best things to do in that vacation spot, best dining, beaches, watersports ect. I will be writing all the content based on my experience of travelling there for over 20 years... If the site is going to be all about things to do in that city or island, how else could i name the site. www.islandtravelactivities.com Wouldn't that be using the keywords island + travel + activities in the domain ? I am so confused right now, what would be devalued in the exact domain match and what would not. Thank you in advance for your thoughts.
Intermediate & Advanced SEO | | jlane90 -
How long should a domain redirect take?
Hi, I know that this is a 'How long is a piece of string?' type question but at what point should the ranking value of site A pass over to site B following a domain 301 redirect? I have shifted a domain over to a new URL, same hosting server, same IP address. I haven't made any URL changes or any content changes other than to change the site logo to match the new domain name. Domain B is basically an exact clone of domain A. I have redirected Domain A to domain B using the following line at the top of the .htaccess file:- Redirect 301 / http://www.newdomain.com/ I have submitted a sitemap for the new domain via google webmaster tools. It looks like the original domain as been completely indexed by google following the redirect as all rankings have been dropped from the results and there are no results for a site:olddomain.com search. Surely the rankings should have switched over at this point? Any help would be much appreciated.
Intermediate & Advanced SEO | | AdeLewis
Ade.0 -
Redirect Help - Domain Change and Website Redesign
Hi there, I've redesigned a website for a client, but we are also changing domains and I'm trying to figure out the best way to set up the redirects from their old domain to the new one. 95% of their search engine traffic originally came through brand related keywords that landed on their homepage, and most of the remaining 15% landed on 3 other pages. The new site has pages to replace these 3 main SEO pages, and I'm about to set 301 redirects from their old domain, but I can't figure out the quickest/best way to do it. Is it possible to set up a specific redirect for the 4 main pages (Home + plus the 3 others) then a "catch all" type of thing for the rest of the pages, that redirect either to the homepage, or some sort of "Check out our new Site" landing page. How do you do this, or is there a better way to set it up? Thanks!
Intermediate & Advanced SEO | | timscullin0