Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php 301 redirect

<?php // Permanent 301 Redirect via PHP
	header("HTTP/1.1 301 Moved Permanently");
	header("Location: http://domain.tld/new/location/");
	exit();
?>
Source by perishablepress.com #
 
PREVIOUS NEXT
Tagged: #php #redirect
ADD COMMENT
Topic
Name
9+1 =