Grails urlmapping using id and name
问题 hey all, i have a question about urlmapping in grails. I'm trying to make seo friendly url's using a page name and id. I got the follwing in my URLMapping: class UrlMappings { static mappings = { "/$id/$name"{ controller = "page" action = "view" } "500"(view:'/error') "/"(controller:"index") } } Witch is working, but.... the id won't clear in the urlbar, so the first time i click a link all goes well: http://localhost:8080/SuurdGasControl/2/Gasmetingen But for the next page it shows: http:/