ok, I understand. Then what is better: handle the redirects via htaccess or via a web2py solution?
Any experience with that? On Jul 29, 11:58 pm, mdipierro <[email protected]> wrote: > None of them. > > routes_in does not generates a response. The map is done internally > before dispatching. web2py only sees the new url, not the old one. > > On Jul 29, 3:58 am, "[email protected]" <[email protected]> > wrote: > > > > > If I rewrite an old url to a new one inroutes.py: > > What is the response? A 301(permanent) or a 302 (temporary)? > > > I ask this question, because Google don't like temporary redirects > > and I don't want to mess with my Apache configuration if I can > > do the redirects with web2py. > > > Thanks, > > Marco

