0

I am moving my WordPress setup to a new domain and I have all these links that points to different sections of the blog, I was wondering if .htaccess could help redirect those link http requests to the new domain.

let say my current domain is

http://testserv.url.com/asso/site 

and within this site, I have links such as:

http://testserv.url.com/asso/site/?p=1198 

then on my new domain, given that I backup and restore my WordPress setup from the current site exactly with the URL

http://newsite.url.com/site/ 

so when someone clicks on

http://testserv.url.com/asso/site/?p=1198 

it would redirect them to

http://newsite.url.com/site/?p=1198 

Is .htaccess capable of doing rewrites like this? If so how?

1 Answer 1

1

You might want to read this about moving a wordpress site and this about the redirect. Also here's a plugin that does the redirect for you

Sign up to request clarification or add additional context in comments.

1 Comment

No Problem. Good luck with the move.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.