Redirection between mobile and desktop doesn't preserve the query string, if present.

A patch is attached.

CommentFileSizeAuthor
mobile_tools.patch1.53 KBmpdonadio
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

omnia.ibrahim’s picture

Thanks for sharing, but how to make it clean urls?

Paul_Gregory’s picture

Version: 6.x-2.3 » 6.x-2.x-dev

We 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