• Resolved kameleonmediabe

    (@kameleonmediabe)


    The plugin was exactly was I was searching for. Unfortunately it seems to remove language code from permalink url.

    /en/example-page —> /example-page

    It resets the settings from Polylang to “The language is set from content” instead of my chosen setting “The language is set from the directory name in pretty permalinks ”

    Also tested on fresh installation with only Polylang and this plugin activated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author richardevcom

    (@richardevcom)

    Sorry for such late reply.

    I’ll try to reproduce this issue and make and update in following weeks.

    Plugin Author richardevcom

    (@richardevcom)

    So, I installed newest WordPress 5.4 and Polylang 2.7.1, but I couldn’t reproduce your issue. All language “subdirectory” paths are showing without an issue. Also there is no code related to overwriting Polylang settings or URL rewrite rules, so it’s not likely caused by this plugin. I suspect it may be one of theses issues (not related to my plugin):

    • Double check your Polylang > Settings > URL modifications
    • Double check your .htaccess file for rewrite URLS. You can open Settings > Permalinks and just click Save.
    • If you are using cache, clear it in both – your browser and WP.

    Also try enabling debugging by adding define('WP_DEBUG', true); to your wp-config.php file and disabling all plugins and just run Polylang with my plugin and check if the issue still persists.

    [UPDATE]
    I pushed version 1.0.2 soo please update.

    • This reply was modified 6 years, 1 month ago by richardevcom.
    • This reply was modified 6 years, 1 month ago by richardevcom.
    • This reply was modified 6 years, 1 month ago by richardevcom.
    Thread Starter kameleonmediabe

    (@kameleonmediabe)

    Ok thanks.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Removes language code from my permalink url’ is closed to new replies.