How to Add a Splash Page Before an index.html Page
A Splash Page allows you to add a flashy presentation to your website. Use this page to display your company logo and slogan, names of reputable clients, company history or a brief description of your products and services. By default, the “index.html” file is the first page a person sees when visiting your site. Once your Splash Page is created, it only takes a few seconds to activate it as your site's introductory page.
Instructions
-
-
1
Log into the “Control Panel” of your web hosting account. Click “File Directory” to view all of your web page files.
-
2
Click “New” to create a new web page. For the page name, type “index1.html.” This prevents you from overwriting the original index.html file.
-
-
3
Insert your desired Splash Page code into the page's HTML editor box. If you are unfamiliar with HTML, JavaScript or CSS codes, use a third party resource to get free Splash Page code. Examples of websites that offer free Splash Page codes include Dynamic Drive and All The Scripts.
-
4
Locate the <head> and </head> tags inside the HTML editor box. Paste the following code anywhere between the two tags:
<script type="text/javascript">
function redirect(){
window.location="home.html"
return}</script>
-
5
Click “Save” to save the new splash page. The page should now appear in your File Directory as a new page file.
-
6
Click the original index.html file to open it. Select “Rename.” Rename the file to “home.html.”
-
7
Click the Splash Page file in the File Directory (index1.html) Click “Rename.” Rename the file to index.html.
-
8
Click “Save” to save your changes. Click “Publish” to make your pages live on the Internet.
-
1