Skip to content

More than one redirect with trailing slash in secure non-www url #26177

Closed
@monotheist

Description

@monotheist

Preconditions (*)

  1. Magento 2.3.3
  2. SSL enabled

Steps to reproduce (*)

  1. In Firefox browser enter https://example.com/mens-wear
  2. 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 (*)

  1. Only one redirect.

Actual result (*)

  1. More than one redirect.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions