Resolve Error 404 When a Query String is Added to a URL Redirect

Users may encounter a 404 query string error when creating a URL redirect.

Since wildcards are now supported in 2014.1, the asterisk(*) character may now be added to the Redirect Setup.

Solution
  1. Navigate to Commerce Hosting > Redirects
  2. Redirect: Click Edit
  3. Change Redirect details:
  • Protocol: http://
  • Domain: www.yourdomain.com
  • Redirect from URL: /Item*
  • Redirect to URL: http://www.yourdomain.com/Item_WebStore

4.Click Save

This time, the URL http://www.yourdomain.com/Item?test=1 will now redirect to http://www.yourdomain.com/Item_WebStore?test=1.

Leave a comment

Your email address will not be published. Required fields are marked *