#1 (permalink)  
Old 08-06-2006, 08:47 AM
Registered User
 
Join Date: Aug 2006
Posts: 1
Newbie simple question

Hi,

I have created a simple webpage using html. However, I have found a small problem probably best described with an example using the bbc site:

I want urls on my site to read as in the following: bbc.co.uk/sport

On my site the above link wouldn't work and I would have to put .html on the end eg. bbc.co.uk/sport.html

Can anyone tell me how I can get my site working without the need for .html on the end of every url as I don't think .html on the end of every address is very pleasing on the eye!

Thanks for your help.
Reply With Quote

  #2 (permalink)  
Old 08-06-2006, 10:58 AM
curtiss's Avatar
Moderator
 
Join Date: May 2003
Posts: 1,445
In order to do something like that, the easiest way to do it is to re-arrange your whole site.

Rather than having a page called sport.html, you need to have a directory called "sport", and put your "sport.html" in that directory. Then, rename "sport.html" to "index.html".
__________________
I hate Internet Explorer! Anyone with me?
Reply With Quote
  #3 (permalink)  
Old 08-06-2006, 01:09 PM
Leprakawn's Avatar
Moderator
 
Join Date: Jan 2004
Location: Outside, and playing with your invisible friends.
Posts: 1,130
Send a message via AIM to Leprakawn Send a message via Yahoo to Leprakawn
Talking

Curtiss is correct! Just make sure to relink all of your links to the proper index.htm/html pages, and voilá!
__________________
Like my spiffy, unique signature?
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
Code:
         ...,,.,.,.
        /          \
__oooo__[///]--[\\\]__oooo__
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
separator question with speech smithj7 Usability and Accessability 0 04-14-2006 07:57 PM
Baby Question: Skip Navigation smithj7 Usability and Accessability 0 04-14-2006 07:42 PM
general iframes question ice77ice Programming and Scripting 3 04-05-2006 07:00 PM
Another Image Rollover Question skinner69 Programming and Scripting 1 02-26-2006 10:58 PM
NEWBIE to html ammy Programming and Scripting 17 12-15-2005 06:31 PM


All times are GMT -5. The time now is 10:23 AM.

 
Bitrix
Clicky Web Analytics
CloudContacts
Maxtango


Subscribe to our feed | add to myYahoo!

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
© 1997-2007 HTMLCenter