New answers tagged

0

To redirect a request for /something%26else (or /something&else, since the ampersand does not need to be escaped in the URL-path) to /something%2526else (ie. /something%26else when decoded) then you could do something like: RewriteRule ^(something)&(else)$ /$1\%26$2 [R,L] The RewriteRule pattern matches against the %-decoded URL-path (ie. &, ...


1

Have a look at my answer (on Drupal.SE) to the question "How to use the Rules module to implement a custom redirect for an outdated URL?". I bet the solution described there (using the Rules module) also works for this case. As detailed in that answer: the "clue" to get this to work, is to use the Rules Event "Drupal is initializing". That will ensure that ...


1

Sure you can do this in Drupal using the Rules module ... Here is an example of such rule for Drupal version 7, in what is called Rules "export format": { "rules_redirect_selected_roles_to_selected_term_pages" : { "LABEL" : "Redirect selected roles to selected term pages", "PLUGIN" : "reaction rule", "ACTIVE" : false, "OWNER" : "rules", ...



Top 50 recent answers are included