Have create a book page - it is node/156 with a url alias of "khoj"
However when i type on Khoj (or even click on the menu item) it give page not found error.
However when i type the node address in the borwser i get to see the full node.
Tried deleting the node and creating it again - same problem.
In the Url admin page it lists the node & its alias correctly

See the page at www.geniekids.com/node/156
while the url alias will be www.geniekids.com/khoj (which is giving the error)

i know i can just rename the alias as something else - but i have already published this url (/khoj) in our printed brochure - so need the same alias to work

(p.s. all other alias work absolutely fin - only this alias is giving error)
any help - thanks in advance

ratnesh

Comments

Coyote’s picture

I'd never had this happen before - I created a page, set an alias, and all of a sudden, the alias quit working, and it returns page not found. I about went crazy!

I tried deleting and recreating the content, repairing the database, adding and deleting the alias via the alias admin pages instead of the the content edit page...

And then discovered the culprit. I had a directory in the root of my Drupal install, with the same name as the alias. Apparently, Drupal doesn't like that. I changed the name of the directory (and then, with much cussing, changed all the references to images in that directory), and everything worked fine.

Lead Developer - SheZoom.com

ratnesh aarohi’s picture

while i had got around the problem by using another alias - i get what you are saying and realise that there is a directory with the same name causing the problem.
Will keep this in mind in future - thank you.

SimonP’s picture

Hi Coyote

Thanks for the tip.

In our case, for historical reasons somebody had uploaded a copy of an old website of one of our projects to a directory on our web server. The directory name they used was the same as one of the URL aliases that we had set up for our Drupal website, so later on we realised it had stopped working and any attempts to get it going again failed.

After much frustration and double/triple checking the there were no views that had been set up with that URL (and any other part of Drupal I could think of), I realised that when I tried to view page 'domain/xxxx' it was actually saying 'domain/xxxx/' could not be found.

That's when I tried looking here for a suggestion....

Thanks

Simon

----

Snakehead’s picture

...but I found out, that the URL-Alias «manual/uploading-files» concerns content in the «manual»-directory of the Apache Webserver. So http://mygorillamac/manual shows the Apache Manual. I just have to change the Aliases into «manuals/*» or «handbuch».
Thanks for your hint.