If i write http://example.com/wp-login.php?redirect_to=http://example.com/specificpage/?parameter1=dog¶meter2=dog¶meter3=cat in the url address bar (to make the login page redirect to a specific page with parameters) and login.
I get redirected to the right page but only with first parameter (http://example.com/specificpage/?parameter1=dog). the other two parameters are stripped from the url.
How can i solve that?
Btw - the parameters are acceptable on this site (set in the functions file with add_custom_query_vars so that's not the problem).
I ended up encoding the redirect url. using php in my case ('http://example.com/wp-login.php?redirect_to='.urlencode(http://example.com/specificpage/?parameter1=dog¶meter2=dog¶meter3=cat));)
Now it works!