• Hello,

    Is it possible to change the URL from the default country code to custom url slugs like:
    Australia: .com/en/ to .com/au/
    UK: .com/en-gb/ to .com/uk/
    US: .com/en-us/ to .com/us/

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Chouby

    (@chouby)

    Hello,

    Yes. You just need to edit the language and modify the language code: https://polylang.pro/doc/configure-the-languages/

    Thread Starter jimaye

    (@jimaye)

    Thanks,

    Though “Polylang uses the 2-characters ISO 639-1 language code. This code is used to build the URL. For the browser language detection to correctly work, it is best to keep the appropriate ISO 639-1 language code.”

    So it is not recommended to do it through this way as it will affect browser language detection.

    No other work around?

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

The topic ‘URL Modification Change’ is closed to new replies.