Updating the server configuration file to use the custom SEOURLMapper class
The server configuration file must be updated to carry out an additional logic check for full URL redirects on the storefront.
Procedure
- Open the configuration file.
-
Find the node named SEOConfiguration. Add the following code as a child node under the
SEOConfiguration node:
Where mycompany is your company prefix. For instance:<mapper-class-name value="com.mycompany.commerce.seo.url.helpers.ExtendedSEOURLMapperImpl"/>
<SEOConfiguration defaultUrl="" dynamicUrl="true" enable="true"> <mapper-class-name value="com.mycompany.commerce.seo.url.helpers.ExtendedSEOURLMapperImpl"/> </SEOConfiguration>
- Save and close the file.