View Single Post

  #2 (permalink)  
Old 12-14-2004
George King
 
Posts: n/a
Default Re: Is this a know problem?


"J.P." <jp@provider.net> wrote in message
news:cpl77g$rhv$1@news6.zwoll1.ov.home.nl...
> Hi,
>
> I recieved an e-mail from someone who can't view the website
> www.starofhope.nl. He omly gets the first opening page, but he can't view
> the rest of the site, because the links from the buttons don't work.
> When you click on a button, the address show for instance:
> www.starofhope.nl/?gastenboek
>
> Does the slash in the link cause problems?
>
> I tested it on IE, Firefox and Opera. I had absolute no problems.
> He uses IE with Norton Antivirus.
>
> Anyone familair with this problem?
>
> --
>
> J.P.


I believe the problem lies in IE's handling of an "empty" uri. The links in
your html are "relative" (a href="?page=agenda"). In the absence of a path,
I believe that IE is returning a query string (defined as anything following
a question mark in a URI) to the context in which it exists. In other
words, IE sends the query string to the index page. This was very
confusing, because IE also SAYS it is sending a request for
http://www.starofhope.nl./?page=agenda, but it does not appear to. If, at
some point, you provide IE with an absolute URI to a page in the site, it
will then populate the relative URI with the appropriate path.

You can see this behavior fairly clearly this way:
1. Clear the history file in Explorer.
2. Visit the site home page.
3. Click any menu button - I expect you will still see the home page.
4. Type an absolute URI for one of the site's page's pages - you will see
that page (not the URI for the "current page", but any other page).
5. Click on any menu button - I expect you will see the requested page, and
all menu buttons will now return the indicated page.

You might try placing a "/" in front of the "?" in your relative links and
see if this doesn't fix the problem for IE.

George


Reply With Quote