redirect 301 /old/old-page.htm http://www.newsite.com/new-page.htm
*Note, the spacing needs to be exact, and as long as you are in the same site, you can use the relative path of your folders.
Posting the .htaccess File
The .htaccess file needs to be posted to the main (root) html folder of your site. Sometimes the file may be hidden from view, so if you are using cloaking, make sure you un-cloak your settings.
Testing
Immediately test the file. Simply type in all of your old pages URLs into the browser, and make sure they re-direct to the new page. If you see a major error, like the site has blown up, take the .htaccess folder down! Check you syntax for errors.
PHP Redirecting
<?
Header( “HTTP/1.1 301 Moved Permanently” );
Header( “Location: http://www.newsite.com/new-page.php” );
?>
Extra help? Search http://www.google.com/search?aq=1&oq=301+re&sourceid=chrome&ie=UTF-8&q=301+redirect+htaccess

RedFusion Media - we are experts in "Marketing as a Process". While we focus on the Internet, Customer Centric Relationships, and good old common sense, our knowledge about business in general is monumental. This Blog is a place for our experts to place the preverbal "Pen to Paper" and give you insights about an array of issues we all face in business, on the internet, and how to get it done.
Leave a reply
You must be logged in to post a comment.