Hello everyone,
We need to implement
SEO-friendly, crawlable store detail pages
in Salesforce B2C Commerce (SFRA), where each store has its own unique URL.
Expected URL :
/store/showroom-no1-770001
- store → alias of a custom controller to render the store page
- showroom-770001 → dynamic segment containing store name (slug) and id
Current Limitation: SFCC provides native URL Rules only for Products, Categories, and Content Assets. There is no out-of-the-box URL Rule for Store objects.
What We Tried:
- Query-string approach: /store?storeId=770001 → Works, but not ideal for SEO.
- Manage the store content by Content Asset → Works, but requires significant maintenance effort.
We are looking for a scalable approach in SFRA to dynamically generate and handle clean URLs, such as:
/{controller alias}/{slug}
Any relevant documentation, best practices, or references would be greatly appreciated.
Thank you all.
답변 1개
@Danh Tran, please refer to this link: https://sfcclearning.com/infocenter/content/b2c_commerce/topics/search_engine_optimization/b2c_creating_pipeline_urls.php
Also, check below: