I need to change the domain for both a wordpress and a number of hand-coded pages.
Is there a way to write something in .htaccess so that http://www.olddomain.com/* goes to the corresponding http://www.newdomain.com/* for everything?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You’ll want to use a proper 301 redirect so that search engines will know to start indexing the new domain… something like this should worK if applied before the rest of the rules: