I am assuming I have to use .htaccess, but what do i do to tell my oldsite http://oldsite.com/post-slug to redirect any “post-slug” to http://newsite.com/post-slug automatically.
Share
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.
On your old page add the following to the .htaccess:
That will redirect each link including the page name to the new domain. The flags will also sent the additional parameters and make the URL case-insensitive. The R=301 will tell search engines, that it is a permanent redirect so they might update theit indexes faster.