Skip to content

Custom URL is allowed to add with parameters but it doesn't redirect #37554

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

Open
1 of 5 tasks
adarshkhatri opened this issue May 29, 2023 · 32 comments
Open
1 of 5 tasks
Assignees
Labels
Area: Admin UI Component: UrlRewrite Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Priority: P2 A defect with this priority could have functionality issues which are not to expectations. Progress: dev in progress Reported on 2.4.4-p1 Indicates original Magento version for the Issue report. Reproduced on 2.4.x The issue has been reproduced on latest 2.4-develop branch

Comments

@adarshkhatri
Copy link
Contributor

adarshkhatri commented May 29, 2023

Preconditions and environment

  • 2.4.4-p1

Steps to reproduce

Add new URL rewrites:
image

Expected result

  1. If the system allows adding the above custom URL redirect, then the system should redirect.
  2. Otherwise, the system shouldn't allow to add above custom URL redirect

Actual result

The system allows to add custom URL rewrite for existing categories with parameters but then doesn't redirect in Frontend.

Additional information

No response

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
@m2-assistant
Copy link

m2-assistant bot commented May 29, 2023

Hi @adarshkhatri. Thank you for your report.
To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:


Join Magento Community Engineering Slack and ask your questions in #github channel.
⚠️ According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.
🕙 You can find the schedule on the Magento Community Calendar page.
📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.

@m2-assistant
Copy link

m2-assistant bot commented May 29, 2023

Hi @engcom-Dash. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: 👇

    1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).
    1. Verify that issue has a meaningful description and provides enough information to reproduce the issue.
    1. Add Area: XXXXX label to the ticket, indicating the functional areas it may be related to.
    1. Verify that the issue is reproducible on 2.4-develop branch
      Details- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
      - If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced on 2.4.x.
      - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!

@engcom-Dash engcom-Dash added the Reported on 2.4.4-p1 Indicates original Magento version for the Issue report. label Jun 5, 2023
@engcom-Dash
Copy link
Contributor

Hi @adarshkhatri ,

Verified the issue in 2.4-develop instance and the issue is not reproducible.

Steps to reproduce:
1.Install 2.4-develop instance
2.Go to Marketing >>SEO>Url Rewrites
3.Add Custom Url Rewrite for existing categories and save it.

Kindly refer the below screenshots:
Screenshot 2023-06-07 at 1 57 16 PM

The system doesn't allows to add custom URL rewrite for existing categories.Kindly recheck the behaviour in 2.4-develop instance and Let me know if we are missing anything!

Thanks

@engcom-Dash engcom-Dash added the Issue: needs update Additional information is require, waiting for response label Jun 7, 2023
@adarshkhatri
Copy link
Contributor Author

@magento give me 2.4-develop instance

@magento-deployment-service
Copy link

Hi @adarshkhatri. Thank you for your request. I'm working on Magento instance for you.

@magento-deployment-service
Copy link

@adarshkhatri
Copy link
Contributor Author

You missed the part with param.

image

@engcom-Dash
Copy link
Contributor

Hi @adarshkhatri ,

Thanks collaboration and contribution !

Verified the issue in 2.4-develop instance and issue is reproducible,Hence we are confirming the issue.
Kindly refer the below screnshots:
Screenshot 2023-06-20 at 5 04 42 PM
Screenshot 2023-06-20 at 4 52 36 PM

Steps to reproduce:
Go to admin >Marketing>SEO and serach
Click URL rewrite
Add Custom URL with Param and check its redirecting or not in front-end

System allows to add new Custom URL with parameters for existing categories and its doesn't not redirecting in front end.

Thanks!

@engcom-Dash engcom-Dash removed the Issue: needs update Additional information is require, waiting for response label Jun 20, 2023
@engcom-Dash engcom-Dash added Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Component: UrlRewrite Reproduced on 2.4.x The issue has been reproduced on latest 2.4-develop branch Area: Admin UI and removed Issue: ready for confirmation labels Jun 20, 2023
@github-jira-sync-bot
Copy link

✅ Jira issue https://jira.corp.adobe.com/browse/AC-9036 is successfully created for this GitHub issue.

@m2-assistant
Copy link

m2-assistant bot commented Jun 20, 2023

✅ Confirmed by @engcom-Dash. Thank you for verifying the issue.
Issue Available: @engcom-Dash, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.

@engcom-Dash engcom-Dash self-assigned this Jun 21, 2023
@m2-assistant
Copy link

m2-assistant bot commented Jun 21, 2023

Hi @engcom-Dash. Thank you for working on this issue.
Looks like this issue is already verified and confirmed. But if you want to validate it one more time, please, go though the following instruction:

    1. Add/Edit Area: XXXXX label to the ticket, indicating the functional areas it may be related to.
    1. Verify that the issue is reproducible on 2.4-develop branch
      Details- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
      - If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced on 2.4.x.
      - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!
    1. If the issue is not relevant or is not reproducible any more, feel free to close it.

@engcom-Dash engcom-Dash removed Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Reproduced on 2.4.x The issue has been reproduced on latest 2.4-develop branch Area: Admin UI labels Jun 21, 2023
@engcom-Dash
Copy link
Contributor

@magento give me 2.4-develop instancee

@magento-deployment-service
Copy link

@engcom-Dash
Copy link
Contributor

Hi @adarshkhatri ,

Verified the issue in 2.4-develop instance and the issue is not reproducible,Kindly recheck the behaviour in 2.4-develop instance.
Kindly refer the below video reference:

Screen.Recording.2023-06-22.at.4.34.52.PM_compressed.mp4

After creating Custom URL System getting redirect in front end

Let us know if we are missing anything !

Thanks

@engcom-Dash engcom-Dash added the Issue: needs update Additional information is require, waiting for response label Jun 22, 2023
@adarshkhatri
Copy link
Contributor Author

@magento give me 2.4-develop instance

@magento-deployment-service
Copy link

Hi @adarshkhatri. Thank you for your request. I'm working on Magento instance for you.

@magento-deployment-service
Copy link

@adarshkhatri
Copy link
Contributor Author

It was already verified and was reproduced here #37554 (comment) and somehow someone is interested to reproduce again.

The video is not clear enough as I cannot see the URL. It seems it is reproducing there. Maybe you did not understand the OP.

The issue is custom URL with PARAM is allowed to add but then it doesn't redirect.

url.route.1.mov

I have created a video for you as well.

@engcom-Dash
Copy link
Contributor

@magento give me 2.4-develop instance

@magento-deployment-service
Copy link

Hi @engcom-Dash. Thank you for your request. I'm working on Magento instance for you.

@magento-deployment-service
Copy link

@engcom-Dash
Copy link
Contributor

@magento give me 2.4-develop instance

@magento-deployment-service
Copy link

Hi @engcom-Dash. Thank you for your request. I'm working on Magento instance for you.

@magento-deployment-service
Copy link

@engcom-Dash
Copy link
Contributor

Hi @adarshkhatri ,

Verified the issue in 2.4-develop instance and the issue can be reproducible and we are confirming the issue.
Magento version 2.4-develop and php version 8.1

Steps to reproduce:

  • On the Admin sidebar, go to Marketing > SEO & Search > URL Rewrites.
  • click Add URL Rewrite.
  • Set Create URL Rewrite to Custom.
  • Set Request path and Target path and redirect type
  • save
    Kindly refer the below video reference:

https://github.com/magento/magento2/assets/60198592/0cc9e3a1-a6c8-4d5a-89a3-d823eae5dd3b
The system allows to add custom URL rewrite for existing categories with parameters but then doesn't redirect in Frontend.
Thanks.

@engcom-Dash engcom-Dash added Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Reproduced on 2.4.x The issue has been reproduced on latest 2.4-develop branch Area: Admin UI labels Jul 10, 2023
@m2-community-project m2-community-project bot added Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed and removed Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Issue: needs update Additional information is require, waiting for response labels Jul 10, 2023
@github-jira-sync-bot
Copy link

❌ Cannot export the issue. This GitHub issue is already linked to Jira issue(s): https://jira.corp.adobe.com/browse/AC-9036

@github-jira-sync-bot
Copy link

❌ You don't have permission to export this issue.

@engcom-Hotel engcom-Hotel added the Priority: P2 A defect with this priority could have functionality issues which are not to expectations. label Jul 11, 2023
@engcom-Hotel engcom-Hotel moved this to Dev In Progress in High Priority Backlog Aug 19, 2024
@engcom-Delta
Copy link
Contributor

engcom-Delta commented Apr 22, 2025

Hi @adarshkhatri ,

Thanks for your reporting and collaboration.
We have re-verified the issue in latest 2.4-develop instance hence reconfirming the issue.
Kindly refer the screenshots

Steps to reproduce :
Go to admin >Marketing>SEO and serach
Click URL rewrite
Add Custom URL with Param and check its redirecting or not in front-end
Observe custom URL with PARAM is allowed to add but it doesn't redirect.

Image

Image

Image

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Admin UI Component: UrlRewrite Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Priority: P2 A defect with this priority could have functionality issues which are not to expectations. Progress: dev in progress Reported on 2.4.4-p1 Indicates original Magento version for the Issue report. Reproduced on 2.4.x The issue has been reproduced on latest 2.4-develop branch
Projects
None yet
Development

No branches or pull requests

5 participants