[ic] Area tag and directories

Joshua Lavin joshua at kingdomdesign.com
Mon Dec 13 12:17:59 EST 2004

On Aug 12, 2004, at 11:37 AM, Jamie Neil wrote:

> Hi All,
> I've just been looking at the urls used for linking in to one of our 
> sites, and noticed that while externally most links to the homepage 
> are in the form:
>   http://www.oursite.com/
> all the internal links are:
>   http://www.oursite.com/index.html
> "So what?" I hear you say. Well although this doesn't cause navigation 
> problems, I have a feeling that Google (and maybe other engines) treat 
> /index.html and / as different pages as far as ranking is concerned, 
> which means that potentially we are missing a trick.
> At the moment if you use a directory in the area tag you get this:
>   [area href="directory/"] = /directory/.html
> I know there is a cfg option to specify the page suffix for a catalog 
> (HTMLsuffix), but what I wanted to be able to do is switch off the 
> suffix selectively for directories. e.g.:
>   [area href="page"] = /page.html
>   [area href="directory/"] = /directory/
> That way we could do all internal links to the homepage like this:
>   [area href=""] = /
> The code change should be fairly simple - just match pages with a 
> trailing "/" (or the null page) and leave off the suffix - I just 
> can't seem to find the code that deals with it. Can anyone point me in 
> the right direction?

Was any solution found for this?

I would like to remove the .html on _all_ of my pages, and remove the 
'index' from the homepage URL. This would produce even cleaner URLs.


Josh Lavin
Kingdom Design   http://www.kingdomdesign.com/

More information about the interchange-users mailing list