Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Redirection between mobile and desktop doesn't preserve the query string, if present.
A patch is attached.
Comment | File | Size | Author |
---|---|---|---|
mobile_tools.patch | 1.53 KB | mpdonadio |
Comments
Comment #1
omnia.ibrahim CreditAttribution: omnia.ibrahim commentedThanks for sharing, but how to make it clean urls?
Comment #2
Paul_Gregory CreditAttribution: Paul_Gregory commentedWe just ran in to this problem preparing a site for launch. We needed to make sure that any Search engine query strings were carried through to final destination so that we can read them later but this applies to all query strings.
The patch is simple but effective as it worked for us.
I'm not sure what omnia.ibrahim means as this worked well with Clean URLs.
Paul