Over a million developers have joined DZone.

301 Redirect With PHP

DZone's Guide to

301 Redirect With PHP

· ·
Free Resource
For redirects on servers that have .htaccess locked down:

header('HTTP/1.0 301 Moved Permanently');
header('Location: http://new-page.com/');
header('Connection: close');

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}