Title: Site redirection
Last modified: June 29, 2023

---

# Site redirection

 *  [pasthi](https://wordpress.org/support/users/pasthi/)
 * (@pasthi)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/site-redirection-5/)
 * Hello,
 * I am using Polylang and now have issues with the Google index file saying I have
   sites with redirections. I have not set up any of such redirections.
 * Apparently these redirects come from Polylang
 * Response Header
   […]vary: accept-language, User-Agentx-redirect-by: Polylang
 * Can you please let me know how to fix this issue?
 * Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsite-redirection-5%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Chouby](https://wordpress.org/support/users/chouby/)
 * (@chouby)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/site-redirection-5/#post-16857841)
 * Hello,
 * This is how you setup Polylang. There are no redirect if you keep the default
   settings.
   To avoid them, make sure to:
    1. Hide the language code in URL for the default language.
    2. Deactivate the browser preferred language detection.

Viewing 1 replies (of 1 total)

The topic ‘Site redirection’ is closed to new replies.

 * ![](https://ps.w.org/polylang/assets/icon-256x256.png?rev=3433336)
 * [Polylang](https://wordpress.org/plugins/polylang/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/polylang/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/polylang/)
 * [Active Topics](https://wordpress.org/support/plugin/polylang/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/polylang/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/polylang/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Chouby](https://wordpress.org/support/users/chouby/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/site-redirection-5/#post-16857841)
 * Status: not resolved