Jump to content

URL's


gary00ie
 Share

Recommended Posts

Hi,

 

This may seem like a dumb question, but, I'm developing a site, I have all my pages almost finished, however, I have a problem that is so simple that I think I just need a fresh point of iew on it!

 

I have a site :www.fobar.com/test/index.php - I have a sidebar menu with links i.e.

 

<a href = page1.php>Page1</a>
<a href = page2.php>Page2</a>
etc.

 

Whenever I go from page1 to page2, the page isn't found because the url is showing up as:

www.fobar.com/page1.php/page2.php

rather than:

www.fobar.com/page2.php

 

Am I doing something incredibly stupid?  I never came across this before that I can remember.

 

Any idea's would be much appreciated.

 

Thanks in advance!

Link to comment
Share on other sites

Thanks for the reply Ken. 

 

Maybe I didn't explain my situation correctly.  I don't see how that can help me in this particular situation.

 

I have a url:

www.mysite.com

 

I am testing a new site in a directory as follows:

www.mysite.com/test/

 

This test directory holds a new site which has links to eachpage within that test site, i.e.

www.mysite.com/test/index.php

But when I click on link1.php on the test site, I get:

www.mysite.com/test/index.php/link1.php

 

Do you have any ideas what's going on?  Sometimes it works fine and goes to the correct link buut not for the most part.

 

Any help / ideas would be appreciated. 

Link to comment
Share on other sites

maybe it helps if you write full url ?

 

Thanks for that.  That was my initial thought but I'd prefer not to but seen as it's just one include file it might be the easiest solution.

Although, in saying that, I just noticed that some of the included CSS includes are not showing up either on occasion.

 

I have a feeling something else is going on here.

 

Thanks again for all the replies and suggestions.

Link to comment
Share on other sites

This thread is more than a year old.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.