on 2022 Feb 25 2:56 PM
Hi there,
Hopefully someone can answer my question. First post too!
I have the following redirect rule:
Redirect "/folder-1/folder-2/c/2346?brand=example" "/site-folder/brand-name/"
mod_alias is designed to handle simple URL manipulation tasks. For more complicated tasks such as manipulating the query string, mod_rewrite is required. However, mod_rewrite is not supported by SAP only mod_alias is supported according to the SAP documentation https://help.sap.com/viewer/0fa6bcf4736c46f78c248512391eb467/v2011/en-US/d88300faa78f4acfabb5f4d3440...
Is there a solution to overcome this?
Many thanks 🙂
Request clarification before answering.
So in Commerce Cloud only RedirectMatch and Redirect are supported, your redirect rule can be implemented using RewriteCond or RewriteRule, which are not supported yet.
If you are using the Spartacus storefront, you can define a URL alias in route configuration.
If you are using the old Accelerator storefront, you can redirect from your Spring MVC controllers.
You can use the Tomcat rewrite valve to implement your redirect rules.
If you are using 3rd party CDN, you can probably implement the same rule on CDN.
Hope it helps:)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Many thanks for your detailed response.
Yes this does help with my question 🙂
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.