WordPress.org

Ready to get started?Download WordPress

Forums

Polylang
polylang language code in permalinks for custom post types (2 posts)

  1. creatile
    Member
    Posted 1 year ago #

    Hello

    I can't find the way to display the language prefixe in permalinks for custom post types.

    For example I have a custom post type "Book". The permalinks structure should be for english :
    mysite.com/en/book/book-1 and not mysite.com/book/book-1

    For french (default):
    mysite.com/book/livre-1

    http://wordpress.org/extend/plugins/polylang/

  2. Chouby
    Member
    Plugin Author

    Posted 1 year ago #

    Polylang does not need this to work. But if you prefer, you can check the option "The language code, for example /en/, is added to all urls when using pretty permalinks" in Polylang settings.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags