Redirect header 301 instead of 302
-
Hello!
When redirecting from tld.com to tld.com/en, the plugin sets a 302 header (Moved temporarly).
This should be clearly 301 (Moved permanently).
The function that causes this is in
frontend/choose-lang.php:263
wp_redirect( $redirect );
If you change it to
wp_redirect( $redirect, 301 );
everything works.
All hooks/actions are too late, so this cannot be modified in the functions.php theme file.
Any chances that the plugin author integrates that in a future version?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Redirect header 301 instead of 302’ is closed to new replies.