Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

How to change "Index.htm" page to "Index.html?

Error: The requested URL was not found on this........

6:28 pm on Jun 21, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Sept 21, 2004
votes: 0

I have a small problem.

The index page of my website is called "index.htm".

The home link on the index page gives the error
"The requested URL was not found on this server"

I use MS Front Page to upload/publish the website.
FrontPage automatically renames the index page....
"Index.html" How do I correct this? Should I rename the index page to "index.html? I have over 70 pages connected to my index page. How would the change affect the rest of the website? I'll try anything..

Thanks in advance.

7:23 pm on June 21, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 9, 2003
votes: 0

This sounds like a server configuration problem to me. Check with your host to make sure your index files can use a .htm extension.

If you used FrontPage to publish your site, there's the possibility that the file never actually got uploaded to your server. If you have a good FTP program, check your server to make sure the index.htm file is in your document root.

Alternatively, try visiting yoursite.com/index.htm and see if it works. If not, the file didn't get uploaded. If the file is there, then the server isn't recognizing it as your index page.

7:45 pm on June 21, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Nov 26, 2003
votes: 0

So what is actual name of the file on the server and in the links? If they differ, then it's easier to change the name of the file than loads of links.

Remember that if you have multiple index files, then first is found the highest:


Best regards
Michal Cibor

7:43 am on June 24, 2005 (gmt 0)

New User

10+ Year Member

joined:June 12, 2005
votes: 0

I suppose in a roundabout way it's a server configuration issue... but

My first thought was... "You have 70 links to your index page?" Why?

Are these loose links or do you mean links from your menus?
If they're from your menus, then you need to learn a way to template your sites so that you reduce redundant code.
A menu should only appear in one file once and just get reused from there.
This is a prime example of wysiwyg making the difficult things easy but the easy things difficult.

In either case, if you have to change the links, I like to use a tabbed text editor that would easily allow you to open all the pages at once and then do a global find/replace.

I don't know if I'm allowed to mention the application in here so PM me if you want more info.

I realize that changing all the links will mess up what frontpage is doing so perhaps you could create a dummy index.html page that does an instant redirect to your index.htm page.


8:00 am on June 24, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Feb 21, 2002
votes: 0

you also need to make sure you're using the same uppercase / lowercase spelling of this file everywhere.

A Unix / Linux server will consider Index.html to be a different file from index.html

10:58 pm on June 26, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2002
votes: 0

When you link to an index file, never mention the index file filename in the link. End it with the folder name followed by a trailing / on the URL. This allows you to change the filename from index.html to index.php without having to change any of the links at all. The server will go through the list in the DirectoryIndex list and serve up the right file automatically. You do not have to worry what that file is actually called.
4:20 am on June 27, 2005 (gmt 0)

New User

10+ Year Member

joined:June 12, 2005
votes: 0

"What a silly bunt!"
(for you monty python fans out there)

Excellent answer.

It's so obvious, I just couldn't see it.

Thanks g1smd. That little gem will get tucked away in my chest of goodies :)



Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members