Top "Routing" questions

Questions about mapping URLs to Controllers and Actions.

How to get the _locale variable inside in a Symfony layout?

I'm working with Symfony 2 on a site which having 2 languages, and I want to change patterns of my routes depending …

templates layout routing translation symfony
How to navigate to other page in angular 6?

Im trying to redirect my page from login to another page. Im following this code. My login component ts file: …

html angular url routing angular6
express.js - single routing handler for multiple routes in a single line

Is there a way to make this on a single function call? var todo = function (req, res){}; app.get("/", todo); …

node.js regex express routing
Angular 5 router.navigate does not work

I'm trying to redirect a user to another page based on some condition. Here's my example login component: ngOnInit() { console.…

angular redirect routing navigateurl
Is it possible to make an ASP.NET MVC route based on a subdomain?

Is it possible to have an ASP.NET MVC route that uses subdomain information to determine its route? For example: …

asp.net-mvc routing asp.net-mvc-routing
Angular 2 - Submodule routing and nested <router-outlet>

I'm looking for a solution with Angular 2 for the scenario explained below: In this scenario, the top-nav contains links to …

angular routing
Next.js Redirect from / to another page

I'm new in Next.js and I'm wondering how to redirect from start page ( / ) to /hello-nextjs for example. Once user …

html reactjs routing react-router next.js
How can I set a query parameter in AngularJS without doing a route?

My Angular app allows the user to load an item, and when that happens I'd like to set a query …

url angularjs routing query-parameters
Angular 2 routing redirect to with child routes

I am a newbie in Angular 2. I want to create isolated modules for every part of my app. For example …

angular routing children
How can i have optional parameters in Symfony2 route

I have this code below : /** * Lists all User entities. * * @Route("/{cid}",defaults={"cid" = null},name="user") * @Template() */ public function indexAction($…

php symfony routing