Page 1 of 1

Remove language from url

Posted: Tue May 21, 2019 1:55 am
by saturnas5
Hi.
Opencart v. 2.1.0.2.
How can i remove language prefix from url. Now when you switch language url is www.xxxxx.xx/en/category/ and i want www.xxxxx.xx/category/

Re: Remove language from url

Posted: Tue May 21, 2019 2:33 am
by D3MO
any mods installed? because by default there is no language in url

Re: Remove language from url

Posted: Tue May 21, 2019 3:13 am
by saturnas5
We have "Multi Language URLs" but disabling it doesn't change anything. In category edit or product next to name we have and seo url field for every language.

Re: Remove language from url

Posted: Tue May 21, 2019 6:30 am
by IP_CAM
In category edit or product next to name we have and seo url field for every language.
You either not have changed the admin/system/settings/ Use SEO URL's:
Option back to the Default NON SEO URL Value, or then possibly replaced your
OC default catalog/.../controller/common/seo-url.php File with a customized
File, adding that LANGUAGE Declaration into the Links.
But always FIRST clean out all your CACHE/MODIFICATION Sections,
before you make Tests with changed Values of any kind!
Just figured ... ;)
Ernie

Re: Remove language from url

Posted: Fri May 24, 2019 4:43 am
by D3MO
saturnas5 wrote:
Tue May 21, 2019 3:13 am
We have "Multi Language URLs" but disabling it doesn't change anything. In category edit or product next to name we have and seo url field for every language.
well disabling module doesnt mean all changes reverted back