I upgraded an existing Drupal 6 site to 7.0. I followed the instructions exactly. I have clean URLs enabled. I have .htaccess installed. Apache ReWrite works.

The problem is the site won't use existing URL Aliases. The Aliases still exist, but the site won't use them--either for the permalink, of if you access the alias directly, it redirects back to the clean URL (but not aliases URL).

I had another site I ported some time ago with a development version of Drupal 7 and did not have this problem. Same server, same everything--but one site uses URL aliases, the other does not.

Comments

shelleyp’s picture

I have since found out this is probably because of the re-write of token into core.

My previous tokens used for pathauto replacement are no longer valid. Unfortunately, there seemingly is no documentation that shows the mapping between the old tokens and the new. Even if I do find it, evidently, I can no longer define the same type of URL pattern as I had previously, as the tokens available seem to be severely restricted.

And because of the errors in pathauto from all of this, I can't rebuild, because I'll have URLs linked elsewhere that will end up returning 404.

shelleyp’s picture

Component: base system » token system
Priority: Normal » Major
shelleyp’s picture

Status: Active » Closed (works as designed)

After stumbling around a bit, I found the problem was two fold:

One, token is now in Core, but it is not backwards compatible with the token module. Evidently this disconnect is operating as designed.

Two, because of the incompatibilities, and the fact that are no existing parallels for all tokens in pathauto, breaks in pathauto prevented the url aliases from resolving. Once I removed my previous structure, then I could access older URLs. However, any new content will no longer have the same URL structure.

Evidently, stuff like this is also part of Drupal architecture and design.