View Full Version : Code For Redirecting and Mirroring?
sdrawkcaB
July 25th, 2003, 05:20 AM
Whats the HTML code to redirect to another site, and whats the code for the page to display another site? Maybe you gotta make it a 100% frame ?
sdrawkcaB
July 31st, 2003, 08:49 PM
?
DigitalPimp
July 31st, 2003, 10:09 PM
<script>document.location.href('http://www.google.com');</SCRIPT>
I don't understand ur second question really....
JK87
July 31st, 2003, 10:21 PM
Another way of redirecting is by inserting this code in the HEAD section of your web page source:
< meta http-equiv="refresh" content="1;URL=[URL of page you want to forward to here]" >
Just make sure to move the < and the > at either end so that there are no spaces (I had to leave a space so that the code wasn't processed as HTML in the post).
Change the 1 in content= to change the amount of time it takes to redirect you to the URL you specified.
I don't understand your second question. You could use a Frame although I doubt that is the best option and if you use PHP, you could use include like so:
<?
include("URL to file here") ;
?>
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.