Have a strange issue when I have Global Redirect module enabled in that a panel page that has the path set to "/node/%node/fans" always redirects to the system URL rather than the alias.

e.g.
entering
http://www.finalcutters.com/products/final-cut-studio/fans

without Global Redirect enabled, correctly goes to the panel page but with the module enabled, it incorrectly redirects to
http://www.finalcutters.com/node/1741/fans

Any idea why this is happening?

Comments

Anonymous’s picture

Now I can see that Global Redirect doesn't work in this situation because those URL aliases don't actually exist.

Fixed it by installing the http://drupal.org/project/subpath_alias module and applying the #34 patch from #346911: Redirect Loop and custom_url_rewrite ignored

Anonymous’s picture

Spoke too soon. That half fixed it. At least the aliased path no longer redirects to the system path, but a system path such as /node/1741/fans doesn't redirect to /products/final-cut-studio/fans, so I guess the issue with Global Redirect still remains.

nicholasThompson’s picture

Status: Active » Postponed (maintainer needs more info)

Is there an alias for that URL, if not then GR cannot redirect. How does Drupal resolve /products/final-cut-studio/fans to /node/1741/fans?

Anonymous’s picture

No there isn't an alias for that URL - it's assigned as path (/node/%node/fans) to custom page in Pages (panels).

nicholasThompson’s picture

ok - so node/%node/fans is the source URL, handles by Panels... Thats fine.

How does Drupal know that products/final-cut-studio/fans resolves to node/1741/fans?

There must be an alias or URL rewriting script somewhere?

Anonymous’s picture

Sorry I've no idea, Panels (or perhaps Ctools handles it).