Quick question about html

Discussion in 'Web Sites' started by kamain, Apr 27, 2003.

  1. kamain

    kamain New Member

    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    0
    OK i changed domains for my site.. the question is how do i automatically redirect users from my old site to my new site.. (maybe even one of those 5 second delay things)
  2. tavenger5

    tavenger5 Mr Admin Guy Staff Member Admin

    Messages:
    3,217
    Likes Received:
    13
    Trophy Points:
    38
    are you keeping both domains? (I assume by domain you mean a .com or .net, etc. ) If so you could set the other domain as an alias. Kinda like degster.com and midibuddy.net are the same thing. You'd have to talk to your host about that.

    If it's just a free host, do a search at http://javascriptsource.com for a redirect script.

    You can also do redirects through .htaccess files. I believe you just put
    Redirect http://newurl
    in the file and upload to the old directory.
  3. kamain

    kamain New Member

    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    0
    No I'm not keeping both of them.. the old one was over at geocitites and the new one is a paid for .com (frankly I got sick of geocities after they took away ftp access. and my site kept timeing out because I exceeded my alotted bandwidth
  4. SamStarUK

    SamStarUK New Member

    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    0
    It's a <head> tag that has refresh in it somewhere..

    Try ol' faithful: www.webmonkey.com
  5. SamStarUK

    SamStarUK New Member

    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    0
    My mistake sorry!

    Between <HEAD> and </HEAD> insert the following:

    <meta http-equiv="refresh" content="30; URL=http://www.whatever.com">

    The "30" is the number of seconds it waits to go to the specified URL

Share This Page