I have a page in my site that has the following value in the URL path settings textbox:
webteam/index.php
Automatic alias is unchecked
The first time I click on the appropriate menu nav item for the Web Team, the page renders fine and I get the following URL:
http://my.domain.com/webteam/index.php
I have another page in my site for a member of the Web Team called Joe and his page is joe.php. The value in the URL path settings textbox for Joe's page is:
webteam/joe.php
So when I click Joe's link on the Web Team page (webteam/index.php), the page renders fine and I get the following URL:
http://my.domain.com/webteam/joe.php
Yet when I click on the Web Team page again to go back, I get the following in the URL and a page not found error (for obvious reasons):
http://my.domain.com/webteam/webteam/index.php
How do I get Drupal to not double up on the webteam directory?
Comments
The link in the page is wrong
In the web page you probably have a link that looks like this:
<a href="webteam/joe.php">joe.php</a>What it should be is
<a href="/webteam/joe.php">joe.php</a>Note the very subtle difference of a / before webteam. With out this the web browser will assume that webteam is a sub-folder of the current folder and add it to the end of the current URL. So since your current URL is webteam/index.php it will assume that there is another folder called webteam inside the webteam folder. /webteam/webteam/joe.php.
--
Matthew Nuzum
newz2000 on freenode