custom Url language instead of code
-
Hi,
I’m building a website using Polylang that I use to manage the same language in 2 different countries. France(french) and Switerland French
I used code/local code fr_FR for France and fr_CH for Switzerland and it works
The result is the french website http://www.mysite.com and the swiss one http://www.mysite.com/fr_ch
I use this code for switcher
<?php pll_the_languages(array('display_names_as' => 'name','show_flags'=>1)); ?>
What I would love is to have http://www.mysiet.com/suisse or http://www.mysite.com/ch instead of fr_ch
It is possible ? And if yes how could i do that?
Thanks a lot
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘custom Url language instead of code’ is closed to new replies.