Match a request to a custom router in Magento
Learn how to match requests to custom routes by validating URL paths and directing only intended requests to the appropriate router.
Lesson Content
Note that if we try to load /compare, it will be picked up by Magento’s standard router. This is because we have a related front name, controller and index set up for it.
However, when we try to lo...
Join the discussion!
Comments
Want to comment on this lesson?
Enroll in this course to leave comments.