Forward A Page Using PHP
Join the DZone community and get the full member experience.Join For Free
Often, forwarding web pages is done with .htaccess. But sometimes you don't want to mess with editing .htaccess (or you may not have access to it). You can do HTML forwarding, but PHP allows you to use a more transparent method (and you'd like to retain referrer information). Just edit the code below and add it to the page in question. - Thank to Rollie Hawk
Opinions expressed by DZone contributors are their own.