![]() |
Auto-moving to another webpage
When the new website is up at BU, i'd like to get my users moved instantly to this one when they go to my old site. Can someone post me the code for this?
|
Re: Auto-moving to another webpage
this is JavaScript... log out and in the forums, or do a forum search, so as to have displayed that "redirecting... click here if you do not wish to wait" page, then hit stop, and look at the page's HTML source... :)
|
Re: Auto-moving to another webpage
lol, that's the way I do it too when I need such code :D
|
Re: Auto-moving to another webpage
Code:
<script language="JavaScript"> Anyway, i found this on the internet using mighty google ;) the login->view source thingy gave me to much crap :) |
Re: Auto-moving to another webpage
<meta http-equiv="Refresh" content="1; URL=http://realbot.bots-united.com">
:) [edited: don't forget the http:// else it won't work] |
Re: Auto-moving to another webpage
If anyone cares,
Using ASP, <%@ language="vbscript"%> <% Response.Redirect"'http://www.bots-united.com") %> Soon, I won't care either. I am going BACK to Unix/ Linux totally and leaving the windows crap behind. |
Re: Auto-moving to another webpage
i think the meta tag is the best way (yes i use it, so i say work with metatags :>)
|
Re: Auto-moving to another webpage
Quote:
at the server - BEFORE the browser knows about it or At the browser (client). At the browser has a number of problems, with caching, with not wanting to do the redirect, with 2rd party software like add removal software that doesn't allow redirects, and on and on and on.... |
Re: Auto-moving to another webpage
a php version:
PHP Code:
|
Re: Auto-moving to another webpage
also, last i looked, you don't even technically need the die() there - just make sure the header() is before any output on the page (as headers are sent before content, and thus any content locks in the current headers)
|
All times are GMT +2. The time now is 03:28. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.