Skip to main content
All CollectionsProducts and CatalogShop by Brand Add-on
Tweaking of Clean URLs Related to Brands
Tweaking of Clean URLs Related to Brands
A
Written by Anna Verbichenko
Updated over 6 months ago

You can do some tweaking of clean URLs related to brands using your store's configuration file XCART_DIRECTORY/etc/config.php.

In the section [clean_urls] there is the setting brand_clean_urls_format that can be used to adjust the clean URL format for the pages of individual brands.

; Clean URL format for brand pages
; Possible values:
; domain/goalbrand
; domain/goalbrand.html
;
; Be sure to re-deploy your store after readjusting this setting for the change to take effect.
; Readjusting this setting will not affect your existing URLs.
brand_clean_urls_format = "domain/goalbrand"

In the section [clean_url_aliases] you can also set a clean URL alias for the Brands page https://your_store_address/?target=brands:

[clean_urls_aliases]
; Add clean URL aliases for special pages.
; Use the following format:
; target = "clean-url"
...
brands = "all-brands"

By default, the alias is "all-brands".

Related pages:

Did this answer your question?