Welcome, guest!  |   Login  |  
Close

Login to Your Account


  |  » Forgot your password?
Join

Notices

Thread: html 101 - index.htm or index.html?

 
Tools Search
  #1  
Old August 31st, 2005, 11:02 AM
More Cheesier Than Ever
Join Date: January 18th, 2005
Location: Land of The NFL Champs!
Posts: 2,942
Sorry for how basic this question is.

In Frontpage, your index page will be saved as index.htm however in servers, the home page is index.html . This can cause all kinds of problems. I have changed all links to have them point to the index.html page and on the index.htm page I put a short redirect script (rather than delete it) in case someone has an old cached page.

You will be redirected to http://www.my-web-site.c0m.
<script language="JavaScript">
var URL = "http://www.my-web-site.c0m";
self.location = URL;
</script>

Did I do this correct?
__________________
This World is Not My Home
We're gonna go inside, we're gonna go outside, inside and outside. . . And then we're gonna go go go and we're not gonna stop til we get across that goalline! Quotes from the movie Rudy, 1993
  #2  
Old August 31st, 2005, 11:08 AM
Full Member
Join Date: January 18th, 2005
Location: NY
Posts: 68
why not dupe the html with an htm extension or change the extensions on frontpage to html?
se's might not like the redirect.
  #3  
Old August 31st, 2005, 01:02 PM
More Cheesier Than Ever
Join Date: January 18th, 2005
Location: Land of The NFL Champs!
Posts: 2,942
Quote:
Originally Posted by hooligan
why not dupe the html with an htm extension or change the extensions on frontpage to html?
se's might not like the redirect.
I have changed all links to point to the index.html page . The reason for the redirect is in case someone is working from a non-updated cached page.
__________________
This World is Not My Home
We're gonna go inside, we're gonna go outside, inside and outside. . . And then we're gonna go go go and we're not gonna stop til we get across that goalline! Quotes from the movie Rudy, 1993
Join ABW to remove this sponsored message.
  #4  
Old August 31st, 2005, 03:04 PM
Internet Cowboy
Join Date: January 18th, 2005
Posts: 4,675
I have found that it does not matter if you use .htm pages or .html pages. I have sites both ways and it is my opinion that simply does not matter. My server as well as my individual hosting accounts across the web pick either one up just fine.
__________________

  #5  
Old August 31st, 2005, 03:20 PM
Full Member
Join Date: August 6th, 2005
Location: St-Georges, Québec, Canada
Posts: 105
Send a message via MSN to sendmemybill
Generally, website hosts will show them in order, if one don't exist it will try the next one. Not every host are set the same probably but the list, that I can't remember, may sounds like this:

index.html
index.htm
default.html
default.htm
index.php
etc...
Reply

Tools Search
Search:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How important the DOCTYPE? ahmar Programming / Datafeeds / Tools 7 January 21st, 2005 04:33 PM
HTML < table > tags in datafeed - Serena Programming / Datafeeds / Tools 1 June 13th, 2004 06:47 AM
Need Specific WM HTML replacements CY WebMerge (Fourthworld.com) 1 December 2nd, 2003 11:49 AM
HTML in e-mail dreusche Rakuten LinkShare 5 June 9th, 2002 08:41 PM
width & height ?? HTML 101 $$$$$ Midnight Cafe' 8 December 27th, 2001 02:41 AM

X

Welcome to ABestWeb.com

Create your username to jump into the discussion!

ABestWeb.com is the largest affiliate marketing community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?



Content Relevant URLs by vBSEO ©2011, Crawlability, Inc.