All Collections
Products and Catalog
Shop by Brand Add-on
Tweaking of Clean URLs Related to Brands
Tweaking of Clean URLs Related to Brands
Seller Labs avatar
Written by Seller Labs
Updated over a week 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:

; 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?