-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Catalog link widgets uses incorrect URL #39464
Comments
Hi @rikwillems. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
You can use the following patch to work around the issue.
|
Hi @engcom-Bravo. Thank you for working on this issue.
|
Preconditions and environment
Version tested 2.4.7-p3
Steps to reproduce
Expected result
Links in the widget go to the correct url of the selected product/category.
Actual result
Links go to the URL that was first inserted into
url_rewrite
, which now hasredirect_type
301.Additional information
The filter to retrieve the url rewrite misses the redirect type parameter. Adding that to the filter leads to the expected result.
\Magento\Catalog\Block\Widget\Link line 80.
Althought the links work, through a redirect you get to the correct page, the link in html source is invalid. This can have an SEO impact for the merchant.
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: