Re: [web2py] Shorter URLs

2011-02-19 Thread Ross Peoples
You mention that it prevents access to other controllers. In /default/page would I need to check for the page title, and if doesn't exist, try to do a redirect(URL(request.args(0)) or something like that?

Re: [web2py] Shorter URLs

2011-02-19 Thread Jonathan Lundell
On Feb 19, 2011, at 3:53 PM, Ross Peoples wrote: > I am trying to develop a WordPress-like application with web2py and now I'm > thinking about URL structures. WordPress lets you select what kind of > permalink structure you want to use. With my application, I would like to > have pages mapped l

[web2py] Shorter URLs

2011-02-19 Thread Ross Peoples
I am trying to develop a WordPress-like application with web2py and now I'm thinking about URL structures. WordPress lets you select what kind of permalink structure you want to use. With my application, I would like to have pages mapped like this: http://domain.com/the-page I have played with