Post by velko » Thu Mar 20, 2025 6:34 pm

I would like to use seo url as I have enabled seo from the admin and changed .htaccess.txt to .htaccess in opencart version 4.1.
Finally the result is the following
/syry-balkanskeho-typu/balkansky-syr-z-koziho-mleka-merone-200-g?route=product/product&language=cs-cz
and I would like it to be /syry-balkanskeho-typu/balkansky-syr-z-koziho-mleka-merone-200-g without ?route=product/product&language=cs-cz
How can I achieve this ?

Newbie

Posts

Joined
Tue Mar 23, 2021 6:19 pm

Post by paulfeakins » Thu Mar 20, 2025 8:35 pm

velko wrote:
Thu Mar 20, 2025 6:34 pm
I would like to use seo url as I have enabled seo from the admin and changed .htaccess.txt to .htaccess in opencart version 4.1.
Well, there is no such thing as version 4.1 because OpenCart versions contain 4 numbers. Presumably you mean 4.1.0.0.

Whatever you mean though, you should not be using any version of OpenCart 4 at this point, you should use 3.0.4.0.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by velko » Thu Mar 20, 2025 9:03 pm

I have invested a lot of time in writing several modules, database migration, etc. for version 4.1.0.0 and I don't want to go back to version 3, when will a new version 4.1.0.1 be released that I can use?

Newbie

Posts

Joined
Tue Mar 23, 2021 6:19 pm

Post by JNeuhoff » Thu Mar 20, 2025 10:18 pm

In that case you could test it with the current master branch, to see whether this issue still exists or not.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by JNeuhoff » Fri Mar 21, 2025 1:14 am

Just tested it with en-gb and de-de language packs for the master branch, and the SEO urls are fine now for different languages.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by velko » Fri Mar 21, 2025 4:19 am

I changed the language, but the problem is still there.
Does anyone know when a new, fixed version will be released?

Newbie

Posts

Joined
Tue Mar 23, 2021 6:19 pm

Post by paulfeakins » Fri Mar 21, 2025 7:19 pm

velko wrote:
Fri Mar 21, 2025 4:19 am
I changed the language, but the problem is still there.
Does anyone know when a new, fixed version will be released?
Version 4.1.0.2 was released today. Whether it fixes these issues or not, I do not know.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by JNeuhoff » Fri Mar 21, 2025 7:42 pm

OC 4.1.0.2 still appears to have some issues with SEO URLs when installing another language, though not the one reported by the OP on this forum thread here.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by velko » Fri Mar 21, 2025 7:46 pm

How can i upgrade from version 4.1.0.0 to 4.1.0.2 ?

Newbie

Posts

Joined
Tue Mar 23, 2021 6:19 pm

Post by JNeuhoff » Fri Mar 21, 2025 9:10 pm

velko wrote:
Fri Mar 21, 2025 7:46 pm
How can i upgrade from version 4.1.0.0 to 4.1.0.2 ?
Best to do a fresh install because the upgrade has some issues. There were more than minor changes between 4.1.0.0 and 4.1.0.2.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by webocreation.com » Fri Mar 28, 2025 3:58 pm

Looking at the issue, I think either there is no entry for the product route at SEO URL or the htaccess content is incorrect.
Go to admin >> Design >> SEO URL and see if this product entry exists; if not, add it.
Image
Similarly, for each language, you need this kind of entry:
Image
See the sort order play role here.

If the above does not fix, backup your htaccess and use this htaccess content
https://raw.githubusercontent.com/openc ... access.txt

Opencart SEO URLs

If both do not work, then you may need to look deeper :)

Opencart 4 book for developers
Opencart 4 User Manual Book
Blog free tips and tricks
Free extensions
OpenCart Tutorials
OpenCart Tutorials Youtube Video for developers


User avatar
New member

Posts

Joined
Fri Feb 02, 2018 11:51 pm
Who is online

Users browsing this forum: No registered users and 8 guests