Page 1 of 1

How to remove ?route= from URLs

Posted: Fri Nov 15, 2024 3:56 pm
by effectgroup
Hi guys,

How to fix URLs on Opencart 4.0.2.0?

1. Home page:
From: https://new.coffeeteahouse.bg/?route=co ... anguage=bg

To: home: https://new.coffeeteahouse.bg/

2 Category page:
From: https://new.coffeeteahouse.bg/chay?rout ... anguage=bg

To: https://new.coffeeteahouse.bg/chay

3. Product page:
From: https://new.coffeeteahouse.bg/chay/frou ... anguage=bg

To: https://new.coffeeteahouse.bg/chay/frou ... ding-50-gr


SEO URLS are installed and turned ON, .htaccess file is renamed.

Thank you!

Re: How to remove ?route= from URLs

Posted: Fri Nov 15, 2024 5:27 pm
by JNeuhoff
Is there any reason why you are using 4.0.2.0 which has a lot of known bugs? The whole OpenCart 4 branch is still under development, for a stable release use 3.0.4.0. If you really want to experiment with OpenCart 4, use 4.0.2.3, and this forum thread might give you some insight about how to modify the URL.

Re: How to remove ?route= from URLs

Posted: Fri Nov 15, 2024 8:35 pm
by paulfeakins
effectgroup wrote:
Fri Nov 15, 2024 3:56 pm
How to fix URLs on Opencart 4.0.2.0?
Use 3.0.4.0.

Re: How to remove ?route= from URLs

Posted: Mon Nov 18, 2024 10:49 pm
by effectgroup
Thank you, but the website is almost ready, and will be quite hard to downgrade to 3.0.4.0
Do you have any specific suggestions on how to fix URLs now?
Any extension or code?

Regards

Re: How to remove ?route= from URLs

Posted: Tue Nov 19, 2024 12:09 am
by JNeuhoff
effectgroup wrote:
Mon Nov 18, 2024 10:49 pm
Thank you, but the website is almost ready, and will be quite hard to downgrade to 3.0.4.0
Do you have any specific suggestions on how to fix URLs now?
Any extension or code?

Regards
As far as I know, there isn't yet any extension for this. You may have to post a request on the Commercial Support section of this forum, to a find a professional developer who can do it for you for a charge.

Also, don't use the Journal3 framework, use OpenCart. along with a proper standard-compliant theme.

Re: How to remove ?route= from URLs

Posted: Fri Nov 29, 2024 3:21 am
by knigisan
I have a similar problem. Is there any solution yet?

Re: How to remove ?route= from URLs

Posted: Fri Nov 29, 2024 12:21 pm
by by mona
JNeuhoff wrote:
Fri Nov 15, 2024 5:27 pm
viewtopic.php?t=230759#p853883
paulfeakins wrote:
Fri Nov 15, 2024 8:35 pm
effectgroup wrote:
Fri Nov 15, 2024 3:56 pm
How to fix URLs on Opencart 4.0.2.0?
Use 3.0.4.0.
knigisan wrote:
Fri Nov 29, 2024 3:21 am
I have a similar problem. Is there any solution yet?
The solution is still to use 3.0.4.0