MarioG Posted March 14, 2015 Share Posted March 14, 2015 Hi Guys, Please tell me how to customize the url of language Example: my default language is French and Default Url is www.abc.com/fr I wanna change it to www.abc.com without fr Please help me! Thanks a lot in advanced! Link to comment Share on other sites More sharing options...
rocky Posted March 14, 2015 Share Posted March 14, 2015 PrestaShop v1.6 will automatically add the language ISO code to the URL if you have multiple languages enabled. If you want no language ISO code in the URL, then you'll need to go to the Localization > Languages tab and disable every language except for one. Your website will then only display in that language and will have no language ISO code in the URL. 1 Link to comment Share on other sites More sharing options...
MarioG Posted March 16, 2015 Author Share Posted March 16, 2015 Thank Rocky, but my version is 1.5.4.1 and I wanna use 2 language En and Fr. I don't wanna show default language Fr in my url . Link to comment Share on other sites More sharing options...
rocky Posted March 17, 2015 Share Posted March 17, 2015 You want to use yourshop.com/en/ for English and yourshop.com/ for French? PrestaShop doesn't let you do that. I'm not sure whether it's even possible. If it is, it would require modifications to the rewrite rules in your .htaccess file and to all the functions in classes/Link.php file to remove the /fr/ from all URLs and not end up with broken URLs. I suggest that you keep things simple and leave the /fr/ in. 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