Help Re: Redirects & htaccess

Laubster

Senior Member
Joined
May 21, 2013
Messages
1,008
Reaction score
383
Hey everyone. My GF wants to transfer her WP site from www.domains.com (plural) to another domain she owns: www.domain.com (singular). I know how to clone sites, but don't quite understand how to do this so that all the old URL's points to the new URL's. Can I edit the htaccess file on the old site so that all URL's are 301'd to the new site properly? And if so, can you copy/paste the code here or point me in the right direction please?
 
As domaininin sets out, you may in future want to do a quick google search as the answer is already there.
 
Are you talking about the urls as a whole? I mean once you clone the site and install it at the new domain the site will work perfectly other than all the links that was hyperlinked manually.

I dont know if htaccess is the right way to deal with it but replacing all instances of old url with the new url in the database will solve it out.
 
Back
Top