Loading

How to Resolve 301 Redirects in Alternative URLs in B2C Commerce

Дата публикации: Oct 29, 2024
Описание

An example of an Alternative URL is $url('Search-Show')$?cgid=womens-Dresses and it successfully points to category "womens-Dresses,” but the hostname appears as https://host/search?cgid=womens-Dresses, rather than as https://host/womens-Dresses. Clicking https://host/search?cgid=womens-Dresses results in a 301 redirect to the desired https://host/womens-Dresses URL.
 

Решение

Errors or undesired HTTP response codes are often the result of incorrectly-formatted Alternative URLs. For example, an Alternative URL, showing correct formatting is $url(‘Search-Show’,’cgid’,’womens-Dresses’)$.

The values should be within the $url()$ framework, comma-separated, each in single-quotes. For more information, please see Set a Category Alternative URL.
 

Номер статьи базы знаний

000394752

 
Загрузка
Salesforce Help | Article