I am using wordpress and I have the following URL

http://www.example.com/product/sony-xperia/

What I am trying to achieve is if I add fr after the base url like the example below, I want to display the same content as I can see for the url above.

http://www.example.com/fr/product/sony-xperia/

Could you please tell me how to achieve this?

Read more here: Allowing optional prefix in url


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: