Support » Plugins and Hacks » polylang language code in permalinks for custom post types
3 years, 11 months ago
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):
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.