Auto Redirect?

Discussion in 'Web Design and Development' started by Aperture, Aug 3, 2006.

  1. Aperture macrumors 68000

    Aperture

    Joined:
    Mar 19, 2006
    Location:
    PA
    #1
    Hi. My website is KevinSchaefer.net. I am getting stuck at my intro page and want users to be auto redirected to the sites real homepage, kevinschaefer.net/home.html after an amount of time. I'll have to time the animation but I want it to redirect right before it loops. Any thoughts?

    Thanks
     
  2. bwanac macrumors regular

    Joined:
    Mar 27, 2006
    #2
    You can do it right in Flash... but im drawing a blank as to what it is called.
     
  3. Aperture thread starter macrumors 68000

    Aperture

    Joined:
    Mar 19, 2006
    Location:
    PA
    #3
    Alright, cool. Anyone know what it is called?
     
  4. JGruber macrumors 6502

    Joined:
    Feb 13, 2006
    #4
    You can always time it and use this code...

    Code:
    <meta http-equiv="refresh" content="5;URL=home.html">
    content=5 - 5 is the amount of seconds to count before it re-directs
     
  5. reh macrumors 6502a

    Joined:
    Oct 24, 2003
    Location:
    Arkansas
    #5
    A far better method is to use the proper name for your main page. Such as index.html. Or change what is automatically looked for as the index page. In apache, you add this line to your .htaccess file.
    Code:
    DirectoryIndex home.html
     
  6. Aperture thread starter macrumors 68000

    Aperture

    Joined:
    Mar 19, 2006
    Location:
    PA
    #6
    Thank You! I got the page to redirect. If you want to see, its KevinSchaefer.net. I will try changing the name later.

    Thanks Again:D
     
  7. reh macrumors 6502a

    Joined:
    Oct 24, 2003
    Location:
    Arkansas
    #7
    Your meta refresh tag that you added needs to go in the head of the document (between the head tags).
     

Share This Page