So, for some reason, a couple of pages in my site refuse to alias properly. They are listed correctly in the URL alias listings - ie. node/1432 is aliased to /writers. However, when I go to www.site.com/writers I receive a Page Not Found. I tried scrapping the alias, manually inputting the alias, using a view instead of a page and have had no luck.

Anyone have any idea what the issue here is?

Thanks sooooo much!

Comments

aryanto’s picture

I have experienced this kind of weird URL alias issue. I have reported here more than a week ago. It looks like nobody is interested to have a look on that issue report. Maybe because the solution is quite simple. For my problem, as I wrote on that issue report, I added the alias directly to the url_alias table in MySQL database.

dzynz’s picture

Did your's ever work? The crazy thing for me is these are aliases that USED TO WORK just fine. They just stopped working one day.

aryanto’s picture

Yes. I had never had other issues a part from that. I am actually using Dupal 6.1. Just a long shot. Do you have all the cache settings enabled? Did you try to disable and clear them?

dzynz’s picture

Disabled, manually emptied the cache tables. No luck.

aryanto’s picture

Do all your URL aliases actually exist in url_alias table of your Drupal MySQL database?

dzynz’s picture

They exist alright.

BartVG’s picture

I'm having the same problem: the aliases used to work, but now the give a "page not found" error. Other aliases still work

robdinardo’s picture

I also have this issue. I am using Drupal 6.2 and I am trying to create a multilingual content site with English (default) and French. I installed Pathauto and the latest i18n. I set up pathauto so that a new page in English would have en/[raw-title] as the URL and French would have fr/[raw-title] as the other URL.

I created a page "node/1" with alias "en/first-page", then I translated the page to French and that new page became "node/2" with alias "fr/first-page"

The pages are created fine and the translated menu links work fine, but the French links point to "node/2" instead of "fr/first-page". The English URL Aliases work fine, but the french URL Alias does not work at all, it gives "Page Not Found" error. I checked the database and the aliases do exist in the url_alias table. I also deleted all the aliases and entered them manually - nothing worked.

I am going to do a fresh drupal 6 install (once again!) and try again without the pathauto module.

dzynz’s picture

Anyone else have any insights?

Quint’s picture

if you change the alias to something else, will it work? Is the non-working-ness sticking with the node or the alias?

If you remove 'writer' from that one node, and change it to something else, and give another node the 'writer' alias, which nodes work?

Could they be reserved words? I changed my alias to be 'nid/alias' in case someone created a reserved-word alias.

Could the alias already exist for another node?

Are you getting capitalization right?

Try with/without the trailing slash.

dzynz’s picture

If I change a signal character it works. It is not a Node issue.
The alias is not used by anything else I can find. Certainly not another alias.
Everything is lower case.
slashes make no difference.

These URLs used to work, now they do not.

We'd like to keep these urls for SEO purposes.

Quint’s picture

delete the alias
login as a different user
create a node
apply that alias

does it work?

socialnicheguru’s picture

did you use pathautho to alias all content on your site?

we realiased all content that was not already aliased to "content/nid/uid'.

However when we then tried to re-alias
content/XXX/YY which was our about page, it would not let us.

I went back and removed the content/nid/uid alias and it was returned to just node/nid

I was able to alias node/nid just fine.

Chris

http://SocialNicheGuru.com
Delivering inSITE(TM), we empower you to deliver the right product and the right message to the right NICHE at the right time across all product, marketing, and sales channels.

suffering drupal’s picture

I made the error to want to try a new construction of the path for my images.
So first I deleted all existing aliases, to bulk-rename them again automatically afterwards.
WRONG!
All images turned back to node/nid and there is no way to either get back to the old paths or achieve the new paths....
Now I understand why it says "You may want to make a backup of the database and/or the url_alias table prior to using this feature."

Any better suggestions than renaming them by hand in the DB?
Ciao!

I started with Drupal in 2007 and then my life got stuck...

alxsvdr’s picture

More than a year after this issue was posted, I had a similar one. Using 2 languages (English, Spanish), Drupal 6.14. I configured Spanish as default language and configured Pages as multilingual translated content. Then I created English with alias "home" and its corresponding translated page with alias "inicio". The Spanish page worked as expected, accessible through es/inicio. When clicking on English link (en/home), I had a Page not found error. Tried many things, and finally switched back to default configuration, meaning English as default language. Then everything behave as expected.

It seems that defining a default language other than English will cause trouble.