Skip to content

Permanent 301 redirect is not generated when product url changes on storeview scope #13240

@koenner01

Description

@koenner01

When changing a product's url in the backend on storeview scope, there is no 301 rewrite being generated.

Preconditions

  1. PHP7
  2. CE 2.2.2 (we previously tested this issue too on 2.1.7+ and it existed there too)

Steps to reproduce

  1. Create a website and add multiple storeviews to it
  2. Create a product, add it to your new website and then save it
  3. Now change the store scope on the product detail in the backend to a storeview and change the product's url (make sure the checkbox for 'Create Permanent Redirect for old URL' is checked!)

Expected result

  1. A 301 redirect for the product's old url should've been created for choosen storeview

Actual result

  1. No 301 redirect is created

Weird thing is that if you update the url on 'all storeviews' scope it will create a 301 redirect for every storeview using the default value, so logic for the redirects must exist..
Not gonna bother going deeper into this issue as it's probably gonna be in the core depths of the magento (hell)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Fixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions