Page 1 of 1

Problem with redirect to main language while searching

Posted: Tue Nov 07, 2023 5:49 am
by broslavski
There is a site with implemented multi-language that works well except for search.

If I click on the search button on a page with an additional language version (not the main language) of the search, a redirect to the search results in the main language version occurs.

Example:

As it should be:
https://site.com/uk/search/?search=my_search_query
What actually happens after you click on the "Search" button:
https://site.com/search/?search=my_search_query

My Opencart version: 2.1.0.2.1

I would be grateful for recommendations on which file to look for the cause of the problem.

Re: Problem with redirect to main language while searching

Posted: Tue Nov 07, 2023 5:30 pm
by ADD Creative
Those do not look like standard OpenCart URLs. What theme and extensions are you using?

Re: Problem with redirect to main language while searching

Posted: Wed Nov 08, 2023 12:06 am
by paulfeakins
broslavski wrote:
Tue Nov 07, 2023 5:49 am
My Opencart version: 2.1.0.2.1
Nope, that's not a version ...