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?