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 routes.py a little bit, but I can't seem to get it to
work right. Anyone know how I can accomplish this? I have tried doing this
in routes.py, but using the URL given above, I get an Invalid Request:
routes_in = (
('/', '/myapp/default/index'),
)
routes_out = (
('/myapp/default/index', '/'),
)