Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.
Wordpress auto redirect http://example.com?lang=fa to http://example.com/?lang=fa how to stop that?
This can't be done, and it isn't WordPress, it isn't even a redirect.
example.com?foo=bar isn't a real URL, so the browser corrects it to example.com/?foo=bar before it's sent out, no redirection happens
Required, but never shown