how to 301 redirect a php based joomla website to html website
- SEO |
#Please don't answer without reading the entire post#
For example, I have a Joomla website with below links:
http://mywebsite.com
http://mywebsite.com/about-us.php
http://mywebsite.com/contact-us.php
I want 301 redirect above website to new domain with below links.
http://newsite.com
http://newsite.com/about.html
http://newsite.com/contact.html
I want to know, it would be enough to implement 301 code given below in htaccess file.
Redirect 301 / http://newsite.com
OR i will have to write code for every page, since url names and extensions are changed.
Should url names and url extensions be the same in new website as it is there in old website while implementing 301 redirect.
I mean http://mywebsite.com/about-us.php will be successfully redirected to http://newsite.com/about.html. with just this code Redirect 301 / http://newsite.com
Thanks for answering.
If you were disappointed in your results today, lower your standards tomorrow.