# Routing problems

**URL:** <https://discourse.aurelia.io/t/routing-problems/1432>\
**Category:** Uncategorized\
**Created:** [July 16, 2018, 10:58am UTC](https://discourse.aurelia.io/t/routing-problems/1432 "2018-07-16T10:58:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kintela](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/kintela/32/749_2.png) [@kintela](https://discourse.aurelia.io/u/kintela)\
**Post date:** [July 16, 2018, 10:58am UTC](https://discourse.aurelia.io/t/routing-problems/1432/1 "2018-07-16T10:58:12Z")

</div>

Hi

I’m trying to configure Routing in my project like this:  
I have **app.ts** :  
import “bootstrap”;  
import { PLATFORM } from “aurelia-pal”;  
import { RouterConfiguration, Router } from “aurelia-router”;

export class App {  
constructor() {}

configureRouter(config: RouterConfiguration, router: Router) {  
config.title = “Planificador”;

```
config.map([
  {
    route: ["", "list"],
    name: "list",
    moduleId: PLATFORM.moduleName("./Projects/views/list")
  },
  {
    route: "edit/:id",
    name: "edit",
    moduleId: PLATFORM.moduleName("./Projects/views/edit")
  }
]);

```

}  
}

But the route: localhost:5000/edit/P0000001 shows an 404 error

I have en the correct path the edit.ts an the edit.html  
**edit.ts**  
export class Edit {}  
**edit.html**

# Planificador guapo

Any idea please?

regards

---

<div class="post-metadata">

**Author:** ![jeremyholt](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/jeremyholt/32/1098_2.png) [@jeremyholt](https://discourse.aurelia.io/u/jeremyholt)\
**Post date:** [February 10, 2019, 10:20am UTC](https://discourse.aurelia.io/t/routing-problems/1432/2 "2019-02-10T10:20:42Z")

</div>

Try localhost:5000/#edit/P000001
