PDA

View Full Version : How Do I Put A redirect on this page please?



Byronwells
Feb 17th, 2010, 11:30 PM
Alright guys

I have created the following folder called downloads, and have would like to create an index.php page.

I would like that page to redirect to the following link please
http://www.digitalresellersvault.com/

Taipan
Feb 17th, 2010, 11:44 PM
<?php

header ("Location: http://www.digitalresellersvault.com/");
exit();

?>

Byronwells
Feb 18th, 2010, 12:20 AM
<?php

header ("Location: http://www.digitalresellersvault.com/");
exit();

?>


Alright When I use the following code.. I get the following message

Warning: Cannot modify header information - headers already sent by (output started at /home/megagame/public_html/digitalresellersvault.com/downloads/index.php:10) in /home/megagame/public_html/digitalresellersvault.com/downloads/index.php on line 12