Post by scottyboyyy » Sun Jan 08, 2023 7:35 pm

Why do the SEO urls contain en-gb folder now?

Is there an easy way to remove this? For example:

.com/en-gb?route=common/home
.com/en-gb/catalog/desktops/pc

to just:

.com/
.com/pc

Active Member

Posts

Joined
Fri Apr 07, 2017 2:36 am

Post by JNeuhoff » Sun Jan 08, 2023 8:39 pm

Please provide more details if you want help here: OC version, extensions used, website URL

In a standard OpenCart 4 the default language isn't shown s part of the URL.

Override Engine * Integrated VQMod * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Rich Snippets * Google Tag Manager * Export/Import Tool * SpamBot Buster * Survey Plus


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by scottyboyyy » Sun Jan 08, 2023 9:41 pm

JNeuhoff wrote:
Sun Jan 08, 2023 8:39 pm
Please provide more details if you want help here: OC version, extensions used, website URL

In a standard OpenCart 4 the default language isn't shown s part of the URL.
4.0.1.1
No extensions

I created a multi store in settings, could this be the reason why it's using language in the URL?

It's also using product:

en-gb/product/tablet/samsung-galaxy-tab-10-1

I have removed the multi store and still using language, etc in url.

Active Member

Posts

Joined
Fri Apr 07, 2017 2:36 am

Post by JNeuhoff » Sun Jan 08, 2023 9:58 pm

I see, getting the same with SEO Urls enabled on the master branch.

I don't see a way to change this, unless the core gets modified to handle SEO keywords the way it used to be in OpenCart 3.

BTW.: There's still a bug in the SEO Url editor, see https://github.com/opencart/opencart/issues/12136

Override Engine * Integrated VQMod * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Rich Snippets * Google Tag Manager * Export/Import Tool * SpamBot Buster * Survey Plus


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am

Who is online

Users browsing this forum: No registered users and 1 guest