# Routing placeholders

**URL:** <https://discourse.aurelia.io/t/routing-placeholders/1284>\
**Category:** Uncategorized\
**Created:** [June 5, 2018, 6:52pm UTC](https://discourse.aurelia.io/t/routing-placeholders/1284 "2018-06-05T18:52:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Johan](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/johan/32/808_2.png) [@Johan](https://discourse.aurelia.io/u/Johan)\
**Post date:** [June 5, 2018, 6:52pm UTC](https://discourse.aurelia.io/t/routing-placeholders/1284/1 "2018-06-05T18:52:08Z")

</div>

This is a bit of a odd question and to be honest I am unsure of how to beset describe this so please excuse me while I try and fumble around the question.

Currently while configuring a route I use the simple and standard definition of:  
route: [‘welcome’], name: ‘welcome’, moduleId: ‘views/welcome/welcome’, nav: true, title: ‘Welcome’

When I run the app at: [http://127.0.0.1:8080/#welcome](http://127.0.0.1:8080/#welcome) everything is fine.  
I would like to have placeholders in the route and also get the values from those placeholders during navigation.

For example:  
[http://127.0.0.1:8080/placeholder1/paceholder2/#welcome](http://127.0.0.1:8080/placeholder1/paceholder2/#welcome)

During the startup of the app I want to get the values “placeholder1” and “placeholder2” from the path but route it to the same moduleId regardless of what the value of the placeholder values are.

I tried something like this  
route: [’:ph1/:ph2/welcome’], name: ‘welcome’, moduleId: ‘views/welcome/welcome’, href: “/”, nav: true, title: ‘Welcome’

but it results in a page not found when trying to access it like this  
[http://127.0.0.1:8080/customer/connection/#welcome](http://127.0.0.1:8080/customer/connection/#welcome)

Any ideas on what I could do here?
