Magento 2
Anatomy of a URL
Free Preview
# Each incoming request/route consists of three parts
frontName
controllerName
actionName

# Each of these parts corresponds to the anatomy of a URL
/{frontName}/{controllerName}/{actionName}

# Given the URL: /foo/bar/baz
frontName = foo
controllerName = bar
actionName = baz

# URL params get processed like normal
/foo/bar/index?name=john

# This request is exactly equivalent to
/foo/bar/index/name/john

# Append as many additional parameters as you'd like
/{frontName}/{controllerName}/{actionName}/{paramName}/{paramValue}/{paramName}/{paramValue}/{...}
Want to learn more?

Visit M.academy to learn much more about Magento, Laravel, PHP, Javascript, & Docker.

M.academy logo