• Resolved Mayeenul Islam

    (@wzislam)


    Tested in a local setup with HTTPS enabled using Laragon WAMP with PHP 7.1.7, WordPress 5.2.4, Polylang 2.6.5 and Security Headers 1.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):

    1. When I’m on the example.com/ hitting the “Bengali” to switch language to the example.com/bn/, it’s switching nicely.
    2. But again, being in example.com/bn/ hitting the “English” to switch language back to the example.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)
  • Thread Starter Mayeenul Islam

    (@wzislam)

    Issue was resolved by Setting the Security Headers plugin accordingly:

    HTTP Referrer Policy:
    origin-when-cross-origin:Full URL to current origin, but just origin to other sites

Viewing 1 replies (of 1 total)
  • The topic ‘Conflicts with “Security Headers” plugin’ is closed to new replies.