Magento Expert Forum - Improve your Magento experience
-
How to Get Current URL in Magento 2
Magento 2 is an adaptable and include rich Internet business stage with a wide range of functionalities that permits redoing your web-based store according to the business prerequisites!
Tweaking the administrator board and frontend is effectively conceivable utilizing various strategies. While running a web-based store, there might be a framework prerequisite to Get Current URL Magento 2.
Works with administrator by making their work more straightforward as they don't need to find and type URLs while fostering a page or joining the URLs anyplace
For more info: https://meetanshi.com/blog/get-current-url-in-magento-2/
View more threads in the same category:
-
-
Assuming you really want to get current URL in Magento 2 PHTML record the simplest method for doing this is to utilize the accompanying code: $currentUrl = $block->getUrl('*/*/*', ['_current' => valid, '_use_rewrite' => true]); This is the best technique since you don't have to utilize the Article Supervisor.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks