Cure for FAIL when using RedirectMatch with clean URL's on Drupal
There is serious misbehavior when using the Redirect or RedirectMatch apache directives on a Drupal site when clean URL's are being used. Instead of being redirected to the desired URL the browser is redirected to the desired URL but with a ?q= appended that indicates the old URL. Something gets confused in the depths of the mod_rewrite rules. I tend to believe the core problem is that Drupals URL's are ugly out of the box and that using mod_rewrite is an abomination, but we're kind of stuck with that until a core team member agrees with me. In any case if you're needing to do a large amount of URL redirecting the path_redirect module might not be sufficient in which case you need to read my tutorial.
(Cure for FAIL when using RedirectMatch with clean URL's on Drupal >>)
Comments
Post new comment