Your shopping cart is empty!
| Characteristics | |
| OpenCart | 3.0 |
| PHP | 7.0 – 8.5 |
| XML modification | Yes |
| Localization | English, Ukrainian, Russian |
| Statistics | 1180 39 |
| Added | 04.03.2026 |
| Updated | 04.03.2026 · 4 months ago |
| Files | lang-dir-in-url.ocmod.zip |
A language prefix in the URL adds a language folder to store links (e.g., /en/, /ua/ ) and automatically selects the language based on the first segment of the URL. As a result, each language version has its own clear address, and language switching and link generation work without broken routes or unnecessary 404s.
Compatible with ocStore 3.x only
/en, /en/ ), catalog pages ( /en/product ) and links with parameters (UTM)._route_ when SEO URL is enabled: removes the language folder from the route so that OpenCart can find the page correctly.langdir_off ).url->link(), including the homepage (taking into account the SEO Pro slash option).<head> (via extension/module/langdir controller) so that search engines understand the language versions of pages.langdir_data settings).langdir_data, otherwise - the standard config_address ).index.php?route=... are formed with the required language folder./ua/, /en/, /pl/ - the module automatically switches the language by URL and brings the routes to the correct format./en/ (if en is the default language), the visitor will get a 301 for the URL without the folder./en?utm_source=... ) correctly determine the language and do not break navigation.
Leave your review about this product