The server configuration file must be updated to carry
out an additional logic check for full URL redirects on the storefront.
Procedure
- In WebSphere Commerce Developer, go to the WC\xml\config directory.
- Open the wc-server.xml file for editing.
- Find the node named SEOConfiguration. Add the following
code as a child node under the SEOConfiguration node:
<mapper-class-name value="com.mycompany.commerce.seo.url.helpers.ExtendedSEOURLMapperImpl"/>
Where
mycompany is
your company prefix. For instance:
<SEOConfiguration defaultUrl="" dynamicUrl="true" enable="true">
<mapper-class-name value="com.mycompany.commerce.seo.url.helpers.ExtendedSEOURLMapperImpl"/>
</SEOConfiguration>
- Save and close the file.
- Starting and stopping WebSphere Commerce
Results
You modified the web application to perform an extra logic
to check for full URL redirects on the storefront.