fatheeym Posted March 31, 2016 Share Posted March 31, 2016 i have multilang in my prestashop but i want to remove the language id from url example.com/en i want to be example.com Link to comment Share on other sites More sharing options...
manc00 Posted March 31, 2016 Share Posted March 31, 2016 what version of PS is it did you try back office< localisation< languages : and what it s the default language you may not be able to remove it Link to comment Share on other sites More sharing options...
shokinro Posted April 1, 2016 Share Posted April 1, 2016 I do not think you can remove the language code from the URL, because different URL will present contents in different languages. Also it is good to have different URL for each language, it will benefit your store SEOs as long as you have translated them correctly to avoid duplicated contents. Link to comment Share on other sites More sharing options...
fatheeym Posted April 1, 2016 Author Share Posted April 1, 2016 oki've read about thiscan i add country code to url i meanexample.com/en-us example.com/en-uk example.com/ar-eg Link to comment Share on other sites More sharing options...
shokinro Posted April 1, 2016 Share Posted April 1, 2016 yes, it is possible to that, but you have to modify method getLangLink() of class Link.php or use override to modify that method. currently it return iso code such as "en", "es" only, you can change to return "en-US", "en-UK", ... but I do not think it is good, because "en" is better than "en-US" or "en-UK", "en" it will target all regions of English language, but "en-US" will only target US. the same to "en-UK",.. Link to comment Share on other sites More sharing options...
fatheeym Posted April 2, 2016 Author Share Posted April 2, 2016 thank you you are great awesomecould you help me in this topic https://www.prestashop.com/forums/topic/511921-how-can-i-use-phpmailer-in-prestashop/but with more explain because my programming skills are weak Link to comment Share on other sites More sharing options...
shokinro Posted April 2, 2016 Share Posted April 2, 2016 I am glad you understand and it helped. For this topic, I checked it has been answered in that topic. https://www.prestash...-in-prestashop/ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now