Hello,

I am building Drupal 7 site.

I wish that when a user will click on any taxonomy term, he will be direct to (for example):
search?field_main_ingredient_tid=[term:tid].

When trying to change it on "URL aliases", the result is:

The pattern:

search?field_main_ingredient_tid=[term:tid]

Should redirect to a URL like:

search?field_main_ingredient_tid=735

But instead pathauto produce a URL that doesn't work:

search%3Ffield_main_ingredient_tid%3D735

In addition, I tried to define in the punctuation settings of pathauto "no action (do not remove)", But it didn't help solve the issue.

How can I prevent pathauto from replacing "?" and "=" to html code (e.g. %3F or %3D)?

Comments

edenb’s picture

Category: Bug report » Support request
Dave Reid’s picture

You cannot. Drupal's path aliasing functionality (regardless of Pathauto or not) does not support query strings in URL aliases.

Dave Reid’s picture

Status: Active » Closed (works as designed)
edenb’s picture

Issue summary: View changes