View Full Version : How to redirect my Index.htm to another server?
07-02-2007, 10:18 PM
Iím in the process of changing internet providers. I would like to test redirecting my existing index.htm to my new website index.htm. Is this possible, and can someone show me what I need to put in a temp index.htm to make it work?
07-02-2007, 10:33 PM
You could use a meta refresh:
<meta http-equiv="refresh" content="5;url=http://www.mynewsite.com" />
(Put that in you head, and it will redirect users after 5 seconds)
07-02-2007, 10:35 PM
hi, i've just found this
<META http-equiv="refresh" content="1; URL=http://www.yournewpage.com/index.html">
or edit the htaccess directly
hey, i'm a little late!
07-02-2007, 10:40 PM
Thank you both for quick reply.
07-02-2007, 11:41 PM
Meta refresh is not the proper way to redirect a user as it relies on the browser to support it. Some browsers allow you to disable this feature. I recommend you use a .htaccess file if your host supports it.
Redirect /Index.htm http://www.otherserver.com
07-03-2007, 04:12 AM
You could also combine the meta refresh method with a page telling the user you've moved and they will be redirected, but if they aren't, "click here"
if you don't have .htaccess or don't want to mess with it
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.