On Feb 19, 2011, at 4:38 PM, Ross Peoples wrote: > > I wouldn't mind doing /blog/the-post, but if I wanted to do an about or > contact page, I would always want that to be http://domain.com/about
In that case, if you're using 1.92.1, you can use the new router. router = dict( BASE=dict(default_application='myapp') ) That should pretty much do it. /blog/the-post will go to /myapp/default/blog with "the-post" in request.args /about will go to /myapp/default/about / will go to /myapp/default/index > > Is there some way to catch error pages, check for an existing page slug and > redirect if there is one instead of just showing Invalid request? > > On Feb 19, 2011, at 7:35 PM, pbreit wrote: > >> I'm fanatical about clean URLs, too. But I might suggest that >> http://domain.com/blog/the-page might make things easier. >> >> On WordPress blogs, however, I usually see >> http://domain.com/2011/02/18/the-page. I'm not totally sure how that would >> work in Web2py. >