title: Polylang Language Detection redirect with 301
body: <p>I am using polylang plugin for wordpress multi language site.
  As per SEO guidelines, home page <a href="http://www.myweb.com" rel="nofollow noreferrer">www.myweb.com</a> should redirect to <a href="http://www.myweb.com/en" rel="nofollow noreferrer">www.myweb.com/en</a> with 301 status. Currently its redirecting with 302 status.
  function home_requested() does this but we can't touch the plugin core functions.
  I tried by adding filter for this function. Also tried by add filter for wp_redirect function but not working.
  Is there any other way to sort this. Thank you.</p>