T
Ted Jackson
I came this way looking for how to set up an alternate index page and
didn't find the answer. So, I've come back to leave the solution that
worked for me for the next poor lost soul. In the public_html
directory create a file .htaccess containing the line "DirectoryIndex
specialindex.htm index.htm", without quotes of course. When someone
access your URL this file will cause loading of the first file listed
which exists. My specialindex.htm refreshes to the regular index.htm
file after 5 seconds. The line <META HTTP-EQUIV="refresh"
CONTENT="5;URL=http://www.mywebsite.ca/index.htm"> in the HEAD section
causes the refresh. I have another line at the bottom that allows the
user to click and go to index.htm if the automatic refresh doesn't
happen.
didn't find the answer. So, I've come back to leave the solution that
worked for me for the next poor lost soul. In the public_html
directory create a file .htaccess containing the line "DirectoryIndex
specialindex.htm index.htm", without quotes of course. When someone
access your URL this file will cause loading of the first file listed
which exists. My specialindex.htm refreshes to the regular index.htm
file after 5 seconds. The line <META HTTP-EQUIV="refresh"
CONTENT="5;URL=http://www.mywebsite.ca/index.htm"> in the HEAD section
causes the refresh. I have another line at the bottom that allows the
user to click and go to index.htm if the automatic refresh doesn't
happen.