301 Redirect PHP – How to redirect a PHP page or website

So you have an old php page you want to redirect to a new php page on your website and you don’t want to lose your search engine rankings. You also don’t want to lose the link juice because many sites are linking to it. The best way to accomplish this is to place 301 redirect code in your .htaccess file then upload it to the root of your server hosting the old site. When someone enters the old URL in their browser it will automatically redirect to the new page.

5 ways to redirect PHP web pages or websites

[Read more…]