Contact Form Plugin P&T redirect issue with locales I'm using the standard P&amp;T contact form plugin. I have a website with 3 locales in a folder structure where every locale has its own folder:

Public

-- EN

-- FR

-- NL

The contact form has the following code:

&lt;form method="post" action="" accept-charset="UTF-8" data-abide&gt;
        {{ getCsrfInput() }}
        &lt;input type="hidden" name="action" value="contactForm/sendMessage"&gt;
        &lt;input type="hidden" name="redirect" value="thanks?from={fromName}"&gt;

        // Rest of code: fields, etc.

&lt;/form&gt;


The redirect template is called thanks and it works as it should except that the thanks page is always redirecting to the EN locale.
When I manualy navigate my browser to go to the thank you page in another locale it works too. But after submitting the form, it just does not redirect to the current locale.

Update

Removing ?from{fromName} does not resolve the issue

siteUrl is set in the config file:

'*' =&gt; array(    
'siteUrl' =&gt; array(
                'nl' =&gt; 'http://cmgg.buthost.com/nl/',
                'fr' =&gt; 'http://cmgg.buthost.com/fr/',
                'en' =&gt; 'http://cmgg.buthost.com/en/'
            )
)


Sidenote: the whole website is almost final and everything with the locales is working as it should except the contact form redirect.
Remove 'usePathInfo' => true, from your /craft/config/general.php

This fixed a similar error on my site.