How to Create 301 Redirect Using PHP


Just add the code in the page or script

Code:
<?
header( “HTTP/1.1 301 Moved Permanently” );
header( “Status: 301 Moved Permanently” );
header( “Location: http://www.blazedream.com/portfolio.asp?q=3/” );
exit(0); // This is Optional but suggested, to avoid any accidental output
?>

+ There are no comments

Add yours