Preconditions and environment
- Magento version - Latest (also tested on 2.4.6-p12).
Steps to reproduce
- In the Admin, go to Marketing > SEO & Search > URL Rewrites.
- Create a custom URL rewrite for the Default Store View with these values:
- Request Path:
some-test1
- Target Path:
/
- Redirect Type:
Permanent (301)
- Save the URL rewrite.
- Open
https://first.magento.test/some-test1/ in a browser.
- Verify that the response is a
301 redirect to https://first.magento.test/, not https://first.magento.test//.
Expected result
No slash doubling - NO SEO impact
Actual result
Target path currently generate a redirect URL with a double slash
Additional information
Proposed fix: #41192
Release note
No response
Triage and priority
Preconditions and environment
Steps to reproduce
some-test1/Permanent (301)https://first.magento.test/some-test1/in a browser.301redirect tohttps://first.magento.test/, nothttps://first.magento.test//.Expected result
No slash doubling - NO SEO impact
Actual result
Target path currently generate a redirect URL with a double slash
Additional information
Proposed fix: #41192
Release note
No response
Triage and priority