0

Im using Pathauto so set aliases for taxonomy terms.

So this: /taxonomy/term/1

Is the same as this: /custom-term-url

Im using Drupals default Taxonomy term View to control the layout of the term page. This works fine for both of the paths.

Ive created an additional page in this view with a path of /taxonomy/term/%/something and an additional filter so show different results.

When I go to this page everything works perfectly: /taxonomy/term/1/something

However this returns a page not found: /custom-term-url/something

How can I get my View working with the Pathauto URL?

2 Answers 2

0

Try the Sub-path URL Aliases module, which should do exactly what you're after.

2
  • You've got the wrong URL but the module does what I need: drupal.org/project/subpathauto
    – Evanss
    Commented Apr 24, 2015 at 16:53
  • Sorry about that, I've corrected it for anyone else reading Commented Apr 24, 2015 at 17:04
0

Install Global Redirect module, this module create a unique form of all of the aliases. I am not able to test this solution of your problem But I guess it may solve the problem.

2
  • Ive installed the module. If I go to /taxonomy/term/1 I get redirected to /custom-term-url. However /taxonomy/term/1/something does not get redirect. I cant see a way in Pathauto to set a pattern for this page.
    – Evanss
    Commented Apr 24, 2015 at 14:11
  • wildcards are not registered, that's why you are not redirected
    – M a m a D
    Commented Apr 24, 2015 at 14:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.