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
'magento' adding in the URL when Use Web Server Rewrites set to NO using Console Command #25976
Comments
Hi @sandip5678. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
For more details, please, review the Magento Contributor Assistant documentation. @sandip5678 do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
Hi @engcom-Charlie. Thank you for working on this issue.
|
✅ Confirmed by @engcom-Charlie Issue Available: @engcom-Charlie, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself. |
… NO using Console Command magento#25976
@magento I am working on this |
Summary (*)
This is a Developer experience issue. I have created one simple console file that will generate product name, URL etc.
Examples (*)
Execute below console.
php bin/magento catalog:product:showurl
Output
URL in the output will be as follows:
http://www.example.com/magento/kir-1100.html
It should not contain 'magento' as in the URL.
http://www.example.com/kir-1100.html
Proposed solution
Looking into the file /vendor/magento/module-store/Model/Store.php
and function named
_updatePathUseRewrites
returns base URL with 'magento'.The text was updated successfully, but these errors were encountered: