Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Aperture

macrumors 68000
Original poster
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
 
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
 
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
 
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😀
 
schaef2493 said:
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😀
Your meta refresh tag that you added needs to go in the head of the document (between the head tags).
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.