two copies of the same file

  • Thread starter Thread starter Tony Lees
  • Start date Start date
T

Tony Lees

After updating my works website I found that the navigation bars
disappeared from our home page (index.htm).

The most recent edits were an attempt to obfusticate our email address
as suggested by the September issue of one of the Linux magazines. I
successfully uploaded this file but when I look at our home page the
navigation bar is missing. On viewing at the source code I find that
the file does not include the edits I thought I had uploaded. Its a
previous version.

However, if IE loads <www.gmcro.co.uk/index.htm> rather than just
<www.gmcro.co.uk> the navigation bars and edits are there. This only
seems to be a problem with the front end. Each part of the website
has its own index page and there is no problem with these pages as the
side and top navigation bars are rendered as I intended.

Anyone have any idea what I should be looking at. I thought it was my
local cache but I have had an email from a library saying that they
too cannot see the navigation structure.

I know I could edit the index page with a note saying that visitors
should invove the index page but that may never see the light of day!
 
You have a page named default.htm which (without looking at details) looks
the same as index.htm, but without the navigation bars.
According to www.gmcro.co.uk/index.html default.htm will load in preference
to index.htm if no page name is specified. Your host's server prefers the
home page to be named default.htm, but index.htm is accepted.

I suggest that you delete index.html, and default.htm from your live web,
and make sure that index.htm is set as your home page in both the live web
and local.

Ron
 
You have a page named default.htm which (without looking at details) looks
the same as index.htm, but without the navigation bars.
According to www.gmcro.co.uk/index.html default.htm will load in preference
to index.htm if no page name is specified. Your host's server prefers the
home page to be named default.htm, but index.htm is accepted.

I suggest that you delete index.html, and default.htm from your live web,
and make sure that index.htm is set as your home page in both the live web
and local.

Ron

Ok Ron. Thanks for that.

I renamed the file as suggested and that works if the file is
explicity requested. However, if this is omitted the I get the old
version although I have removed it from my cache and from the live
web. I cannot see where this is comiong from.

Oh well back to the detective work. :-)
 
default.htm and index.html now display the page without nav bars. index.htm
has been deleted.

Ron
 
Back
Top