Set store language depending on SEO URL in browser.
This is a simple extension substituting SeoPro or any other complex module that sets a language depending on URL.
Examples on my site (live):
https://laptopdisplay.eu/N156HCA-EAB-new-matte will open the product page in English;
https://laptopdisplay.eu/N156HCA-EAB-neu-matt will open the product page in German.
Advantages:
- No need of complex SEO URL extension;
- No conflicts with other extensions;
- Supports Multi Store;
- Supports unlimited number of languages;
- No need to create a pseudo-folder rule or subdomain for different languages (e.g. mystore.com/de/ for German language).
Disadvantages and limitations:
- Additional extension is needed for adding hreflang tags and setting SEO URL of home page. Working fine together with ocdev.pro's hreflang free module;
- Letters in SEO URLs must be of English alphabet;
- Works only on https sites.
I am open to comments, bug reports, improvement proposals.
Installed and tested on Opencart 3.0.3.2 . Assumed to be compatible with all OC 3.x versions. Please report successful or unsuccessful installations.
Login and write down your comment.
Login my OpenCart Account