Closed
Description
Preconditions (*)
- Magento 2.3.3
- SSL enabled
Steps to reproduce (*)
- In Firefox browser enter https://example.com/mens-wear
- There is more than one redirect with trailing slash in secure non-www url when you inspect the network tab in firefox browser. As you can see from below a secure non-www url is forwarded to a url with trailing slash and then again forwarded to one with no slash. Please note that other redirects are fine. Issue is only with secure non-www url. Also note that I am using the default nginx conf file that comes with magento installation. I have noticed this on two production stores.
https://example.com/mens-wear
https://www.example.com/mens-wear/
https://www.example.com/mens-wear
Expected result (*)
- Only one redirect.
Actual result (*)
- More than one redirect.