Log in

View Full Version : Help me with Re-direct



Fart
24-02-2008, 07:01 PM
Hey guys,
i want to re-direct my old site to new one but I NEED it so it doesnt do it in the iframe it does the whole page even though its in iframes
person who helps gets +rep
;D

--ss--
24-02-2008, 07:10 PM
<meta http-equiv="refresh" content="0;url=http://www.site.com">
Should work. (Replace the 0 with the number of how many secounds you want it to wait before it redirects.

Fart
24-02-2008, 07:11 PM
<meta http-equiv="refresh" content="0;url=http://www.site.com">Should work. (Replace the 0 with the number of how many secounds you want it to wait before it redirects.

Yeh ive used that but it just refreshes iframe, I need it to refresh all the page within an iframe ;D

sgraham
24-02-2008, 07:11 PM
Save that as index.php, and replace the italic text with the URL of the page you want to redirect the browser to (e.g. http://www.yoursite.com/index.html).


<?php
header( 'Location: http://www.yoursite.com/index.html' ) ;
?>

Good luck.

Hypertext
24-02-2008, 07:43 PM
Explain further, veeery confusing :S

Want to hide these adverts? Register an account for free!