Slug problem


#1

Hi,

Is it possible to share the same slug for pages in different language in wordpress? For example, www.example.com/en/service and www.example.com/es/service.
I am currently facing the problem of that the second url automatically changed to www.example.com/es/service-2. Can I remove “-2” for the url? Please help! Many thanks!!


#2

Hi,

Unfortunately if the language translation needs to create a new page for the second language, then you can’t have the same slug, so you must choose an other name for the page ( maybe “service” in the language you translate it to ).

Best Regards,
Csaba


#3

HI,

Thanks for clarifying my confusion. Yea, the plugin polylang creates a new page for the second language. Although I can use another name, which is the translated name, for the second page, I prefer keep it the same. Perhaps, it is not possible to do it.

Thanks for your help!