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

A patch is attached.

Files: 
CommentFileSizeAuthor
mobile_tools.patch1.53 KBmpdonadio

Comments

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

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