• wprun

    (@wordpressrun)


    Can Polylang work with this url structure for the translations:

    domain.com/qc/en
    domain.com/qc/fr

    and also have other parts of the site that don’t have translations at all

    domain.com/bc
    domain.com/mn

    All on the one wordpress install?

    I ask because another translation plugin requires a WP multisite for this type of setup.

    Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author Chouby

    (@chouby)

    Hello,
    A type of content is either translated or not. So having translated content and untranslated content require that they are in different post types.
    The desired URL structure is not possible natively. However, it could be possible to obtain it by defining your own structure in PHP. If you have a good PHP knowledge, then you can create your structure by extending the class PLL_Links_Permalinks or maybe PLL_Links_Directory. You can then tell Polylang to use your class with the filter pll_links_model.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.