seo friendly redirect 301 redirect – PHP Redirect

PHP:
<?
  header
“HTTP/1.1 301 Moved Permanently” );
  
header“Status: 301 Moved Permanently” )
  
header“Location: http://www.new-url.com/” );
  exit(
0); // This is Optional but suggested, to avoid any accidental output  
?>

Tags: , ,

This entry was posted on Monday, June 30th, 2008 at 1:31 am and is filed under snipplets. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

2 Responses to “seo friendly redirect 301 redirect – PHP Redirect”

Topic related Blogs September 27th, 2011 at 5:39 pm

Daily Blogpost…

[...]we like to display other sites on the net, even if they aren’t connected to us, by linking to them. Beneath are some online websites really worth checking out[...]…

http://simplesimplething.org October 2nd, 2011 at 1:49 am

{Great|Wonderful|Fantastic|Magnificent|Excellent} beat ! I {wish to|would like to} apprentice while you amend your {site|web site|website}, how {can|could} i subscribe for a blog {site|web site|website}? The account {aided|helped} me a acceptable dea…

I’m extremely impressed with your writing skills and also with the layout on your blog. Is this a paid theme or did you customize it yourself? Either way keep up the nice quality writing, it is rare to see a nice blog like this one nowadays…..

Leave a Reply

You must be logged in to post a comment.