Wordpress url By country code?
I want to add country code to wordpress url by getting user ip address, which should be implemented dynamically. For example if user is from Australia, all website url will be like below: http://test.com/au htttp://test.com/au/contact
For example if user is from USA, all website url will be like below: http://test.com/us htttp://test.com/us/contact