magento-lts icon indicating copy to clipboard operation
magento-lts copied to clipboard

Inconsistency in the use of catalog ‘URL key’s when activating ‘Add Store Code to Urls’

Open f1-outsourcing opened this issue 2 years ago • 3 comments

There is some inconsistency in the use of catelog ‘URL key’s. When using the catelog url key, your url looks like this:

catelog url key: catelog

www.example.com/catelog

When you then decide to activate the ‘Add Store Code to Urls’ this

having store view code: en_gb

You expect the url to become

www.example.com/en_gb/catelog

However the url becomes

www.example.com/en_gb/catelog.html

f1-outsourcing avatar Jan 03 '22 20:01 f1-outsourcing

I don't really understand the issue. By "catelog URL key", do you mean the rewrite product URL key? Cause I tried removing the ".html" part from it and it shows correctly if I enable "Add Store Code to URLs".

elidrissidev avatar Jun 04 '22 20:06 elidrissidev

@f1-outsourcing do you have any update about this?

elidrissidev avatar Aug 07 '23 09:08 elidrissidev

using v20.5.0

using the store code in urls is not honoured everywhere in default theme. This prevents you from proxying a storecode path. Eg. This file is not being loaded.

/skin/frontend/rwd/default/images/opc-ajax-loader.gif

f1-outsourcing avatar Mar 27 '24 13:03 f1-outsourcing