Inform-All Posted July 28, 2022 Share Posted July 28, 2022 (edited) This module allows you to set a domain for every installed language. That means you can set a domain extension for each installed language. No multistore is needed! Have a unique domain for every language (or country) that you are selling your products. Once you set a domain for every language the module does the following Removes the language in behind the url Adds a language selector in the front office Rewrites all the urls for the selected language No multistore for multiple urls Front office language selector redirects to corresponding url Upon changing language in front office, you keep your shopping cart Easier to have a domain for their preferred language After installation set the desired URL for each language you have installed. Even when you are using multistore you can set a domain for every language in every multistore. Prestashop's module: Language selector block does not function anymore. But this module has a language selector build in for the front office. Prestashop 1.7 Download: languageperdomain.zip Any ideas, comments or updates? Check GIT * Update V.1.1.1 20-02-2023 Links send from admin adjusted to customer's language * Update V.1.3 27-07-2023 You can put any language/store url on maintenance mode and minor bug fixes. Edited July 27, 2023 by Inform-All Update (see edit history) 2 Link to comment Share on other sites More sharing options...
BartekGM Posted September 29, 2022 Share Posted September 29, 2022 Hi, I installed the module, but it does not work on PS 1.7.6.8 There is an error 500 on the page. What could be the cause? Link to comment Share on other sites More sharing options...
Inform-All Posted September 29, 2022 Author Share Posted September 29, 2022 1 hour ago, BartekGM said: Hi, I installed the module, but it does not work on PS 1.7.6.8 There is an error 500 on the page. What could be the cause? Can you check with debug mode enabled, if it gives any errors please share them with us. If that does not give any errors, check your server log. Link to comment Share on other sites More sharing options...
jr.villaron Posted December 7, 2022 Share Posted December 7, 2022 Hi, thanks for sharing this module. Same problem for me. I get 500 errors and even though debug mode is enabled it is not working and we have no extra info. Our Prestashop version is 1.7.8.7 as for the php version it is set to 7.4 for every of our subdomains. There must be an issue with the way htaccess is rewritten because as we disable the URL rewriting the site seems to work correctly. Link to comment Share on other sites More sharing options...
Inform-All Posted December 7, 2022 Author Share Posted December 7, 2022 2 hours ago, jr.villaron said: Hi, thanks for sharing this module. Same problem for me. I get 500 errors and even though debug mode is enabled it is not working and we have no extra info. Our Prestashop version is 1.7.8.7 as for the php version it is set to 7.4 for every of our subdomains. There must be an issue with the way htaccess is rewritten because as we disable the URL rewriting the site seems to work correctly. Rewritten urls should also work without a problem. Unless you have any custom .htaccess rewrites i cant (of course) tell anything about that. In the database "shop_url" it should contain all the desired urls and they should all point to the same shop id. And i have added a screenshot with the advised settings for "Shop Parameters > Traffic & SEO" Link to comment Share on other sites More sharing options...
jr.villaron Posted December 7, 2022 Share Posted December 7, 2022 (edited) Hi, I attach a screenshot of our ps_shop_url table. I imagine that everything is ok but we are displaying at the same time the original line (where physical_uri is /) and the next lines which correspond with the lines creating after the module was configured. Does everything look ok for you in the table? Thanks Edited December 7, 2022 by jr.villaron Privacy reasons (see edit history) Link to comment Share on other sites More sharing options...
Inform-All Posted December 7, 2022 Author Share Posted December 7, 2022 10 minutes ago, jr.villaron said: Hi, I attach a screenshot of our ps_shop_url table. I imagine that everything is ok but we are displaying at the same time the original line (where physical_uri is /) and the next lines which correspond with the lines creating after the module was configured. Does everything look ok for you in the table? Thanks Yes, this looks good. And i've tested your URLS and it is working perfectly already. Please clear all your local cookies from your device(s). Link to comment Share on other sites More sharing options...
jr.villaron Posted December 7, 2022 Share Posted December 7, 2022 Yeah the homepages work fine but when I try to visit other pages (categories, products, cms pages, even account pages) I get 500 error and no extra info about the error (debug mode is enabled) For example : https://test.haritza.com/3-vetements PS : Could you please edit your answer and remove my attached screenshot please ? I have just noticed that host address is shown 😒 Link to comment Share on other sites More sharing options...
Inform-All Posted February 20, 2023 Author Share Posted February 20, 2023 Updated version in first post. Link to comment Share on other sites More sharing options...
piotrsz772 Posted March 13, 2023 Share Posted March 13, 2023 There is a way to choose currency available in language? Link to comment Share on other sites More sharing options...
prestaconfig Posted March 14, 2023 Share Posted March 14, 2023 HI, Same problem for 1.7.8.8 and PHP 7.4, it's doesn't work (with last version). Debug is in capture to have an idea. --- Also, is it possible to keep same URI for 3 domains for instance and have only 1 domain for a specific domain only. Ex: EN -> www.website.com/en ES -> www.website.com/es DE-> www.website.de/de I made a test but it retourn an error because duplicate URI. Regards, Link to comment Share on other sites More sharing options...
Inform-All Posted March 15, 2023 Author Share Posted March 15, 2023 On 3/13/2023 at 8:52 PM, piotrsz772 said: There is a way to choose currency available in language? I'm afraid not. You can use Prestshop's currency selector in the frontoffice, but it's currently not a setting in this module. Link to comment Share on other sites More sharing options...
Inform-All Posted March 15, 2023 Author Share Posted March 15, 2023 On 3/14/2023 at 9:02 AM, prestaconfig said: HI, Same problem for 1.7.8.8 and PHP 7.4, it's doesn't work (with last version). Debug is in capture to have an idea. --- Also, is it possible to keep same URI for 3 domains for instance and have only 1 domain for a specific domain only. Ex: EN -> www.website.com/en ES -> www.website.com/es DE-> www.website.de/de I made a test but it retourn an error because duplicate URI. Regards, I have not had the time to test this module for PS 1.7.8.8. It's not possible to have the example you showed. Link to comment Share on other sites More sharing options...
prestaconfig Posted March 15, 2023 Share Posted March 15, 2023 Hi, Thanks for you reply! 1 hour ago, Inform-All said: I have not had the time to test this module for PS 1.7.8.8. It's not possible to have the example you showed. Regards, 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