---
title: "Discussion on \"How Routes Work in Magento\" | Hashnode"
description: "Discussion on \"How Routes Work in Magento\". In Magento 2, routes are used to determine which module and controller will be responsible for handling a request.\nWhen a request is made to the Magento server, the server uses the frontName value in the route to determine which module and controller..."
url: "https://hashnode.com/posts/how-routes-work-in-magento/63bcf193c871713cf3dabf35"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How Routes Work in Magento](https://charanjeet.hashnode.dev/how-routes-work-in-magento?utm_source=hashnode&utm_medium=feed)

In Magento 2, routes are used to determine which module and controller will be responsible for handling a request. When a request is made to the Magento server, the server uses the frontName value in the route to determine which module and controller...

Jan 10, 2023 · 2 min read · charanjeet.hashnode.dev  
Read the article

-   [#magento-routes](https://hashnode.com/tag/magento-routes)
-   [#magento-2](https://hashnode.com/tag/magento-2)
-   [#magento-development](https://hashnode.com/tag/magento-development)
-   [#routing](https://hashnode.com/tag/routing)
-   [#controllers](https://hashnode.com/tag/controllers)

## Written by

[Charanjeet Singh](https://hashnode.com/@charanjeet)

@charanjeet

  
[View profile](https://hashnode.com/@charanjeet)

Magento Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
