Magento Expert Forum - Improve your Magento experience
-
Magento 2: Check if the Current URL is HomePage
Hello, Magento Buddies!!
In Magento 2, if you are unsure whether a page is a homepage or not. Deep dive into Magento 2: Check if the Current URL is Home Page.
Complete Tutorial at https://magecomp.com/blog/magento-2-check-if-the-current-url-is-homepage/
View more threads in the same category:
-
-
Step by step instructions to check assuming current url is landing page in Magento 2
3 Steps to check on the off chance that current url is landing page in Magento 2. Stage 1: Declare in Mageplaza_HelloWorld.
Stage 1: Declare in Mageplaza_HelloWorld.
Stage 2: Declare work in format .phtml document.
Stage 3: Get yield in record.
-
-
You can attempt this: Inject a case of \Magento\Framework\App\Request\Http in your group constructor. Assuming that you are in a regulator you don't have to do it.
-
Tags for this Thread
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