Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 25, 2012, 07:54:49 AM

Pages: [1]   Go Down
  Print  
Author Topic: need html ext???  (Read 339 times)
beerbob1
Pong! (the videogame) Master
*****
Offline Offline

Posts: 26


WWW
« on: August 10, 2002, 06:50:00 PM »

Have searched for an answer to this, but didn't see one.
Do I have to have the .html extension after every link? Use to be I didn't need this when linking between pages, for ex:
<A HREF="http://www.beerbob.net/beerpage/beerpage.html">

works, but this doesn't:
<A HREF="http://www.beerbob.net/beerpage/beerpage">

In the past with other hosts, One didn't need to include the html extension to get a page to load.
I thought it should assume to look for a web page first before thinking it may be a file.
And I'd hate to have to put an index in each folder.....so any other way around this.
I mean when I'm writing some code, just linking to say "mypage"  woudl work if there was a mypage in that directory, but now, it appears that I need "mypage.html" to make it work.

Thanks for any help and enlightenment!
Cheers
Logged
batkins
Spacescooter Operator
*****
Offline Offline

Posts: 47


WWW
« Reply #1 on: August 10, 2002, 08:41:00 PM »

what host were you using???????

u have to specify the file's extenstion.  it's not really that much of a problem to type .html, is it?

bill

 
quote:
Originally posted by beerbob:
Have searched for an answer to this, but didn't see one.
Do I have to have the .html extension after every link? Use to be I didn't need this when linking between pages, for ex:
<A HREF="http://www.beerbob.net/beerpage/beerpage.html">

works, but this doesn't:
<A HREF="http://www.beerbob.net/beerpage/beerpage">

In the past with other hosts, One didn't need to include the html extension to get a page to load.
I thought it should assume to look for a web page first before thinking it may be a file.
And I'd hate to have to put an index in each folder.....so any other way around this.
I mean when I'm writing some code, just linking to say "mypage"  woudl work if there was a mypage in that directory, but now, it appears that I need "mypage.html" to make it work.

Thanks for any help and enlightenment!
Cheers

Logged
beerbob1
Pong! (the videogame) Master
*****
Offline Offline

Posts: 26


WWW
« Reply #2 on: August 10, 2002, 10:04:00 PM »

I was with GGGGAAAAAAAGGGGG! ( GEOCITIES )
Try not to laugh too hard.

At any rate, I never had to list the ext.
So for some peeps who have bookmarked certain pages, trying to use those links now with this host, gets them a page not found.... because in there bookmark link, it doesn't have the .html after the page name.!!! A bummer I know, but was wondering what is was about GEOcities that resolved the names to html....apparently..

Anyway, it's no big deal. I will just create some custom error pages to inform peeps to redo their bookmarks and away we go...

Thanks.
Logged
TWebMan
Quantum Encyclopedia Writer
*****
Offline Offline

Posts: 3112



WWW
« Reply #3 on: August 11, 2002, 07:05:00 AM »

I've yet to see anywhere where you don't have to use an extension, GEO notwithstanding.  I think maybe you were, in that case, linking to a folder in your website (a directory) that had a file in it called index.html and that's what was coming up.
Logged

"Computers cause people to make more mistakes than any other invention in history, with the possible exception of handguns and tequila."  - Unknown
"Liberty of any kind is seldom lost all at once." - D. Hume
Every day is an Ode to Joy
The planet will be fine... and so will your site
Pages: [1]   Go Up
  Print  
 
Jump to: