Conflicts with “Security Headers” plugin
-
Tested in a local setup with HTTPS enabled using Laragon WAMP with PHP
7.1.7
, WordPress5.2.4
, Polylang2.6.5
and Security Headers1.1
.Tested with both Language Switcher widget and
<?php pll_the_languages(); ?>
.Polylang Setup is like below:
- English (default)
- Bengali
- The language is set from the directory name in pretty permalinks
- Hide URL language information for default language
- Remove /language/ in pretty permalinks
- The front page url contains the language code instead of the page name or page id
Found issue in the last point (front page URL clause):
- When I’m on the
example.com/
hitting the “Bengali” to switch language to theexample.com/bn/
, it’s switching nicely. - But again, being in
example.com/bn/
hitting the “English” to switch language back to theexample.com/
, but isn’t switching correctly.
Deactivating the “Security Headers” plugin makes Polylang working perfectly.
This is not a blame to any of the plugin. Just a request to inspect, if there’s anything that’s going out of control. ??
BTW, Polylang is now the best free Multilingual plugin that I switched back after other multisite plugins.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Conflicts with “Security Headers” plugin’ is closed to new replies.