htm or html extension

J

J M

How do you create a web page without having to use the htm or html
extensions on the end.
Ex. www.mysite.com
And I want a link to a page call colorblue as an example.
Normally I'll create a web page name it colorblue.htm and to get to that
page it would be
www.mysite.com/colorblue.htm
I want to be able to alleviate the .htm portion.
I've seen this done on many other sites. how do I accomplish this.
 
K

Karl Burrows

htm and html are the default file extensions for Web pages. If you created
your home page with the name index.htm or index.html, it will only show as
your domain mysite.com. It's not the file extension that gives you what you
want, but using index as the file name.
 
J

Jeff Goebel

How do you create a web page without having to use the htm or html
extensions on the end.

You can cheat this, by creating FOLDERS instead of web pages like
blue.html

For example, if you create a folder within the root, then each folder
can have a default first file - like index.html and it will display
when you enter the folder in the URL path.

In other words, http://site.com/blue will work if index.html is inside
the blue folder.

I may not be explaining it well... but I think it solves what you
want.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top