Hi ty for the reply and sorry about my message it was quickly done up
I only added this line to the routes.example.py and renamed it routes.py
routes_onerror = [('dojo0/*','/dojo/error/index')]
the controller error/index is this
def index():
if request.vars.code == '400':
return dict(redirect(URL('default', 'index')))
elif request.vars.code == '404':
return dict(redirect(URL('default', 'index')))
else:
return dict()
what I want is so if the user clicks on a link from google which no longer
exists www.namiyama.com/links.php for example it goes to default/index
any ideas cheers
and again I apologize for my fast email :-)
*cheers
Andrew
On Tue, Feb 15, 2011 at 6:20 PM, pbreit <[email protected]> wrote:
> Maybe provide your routes.py code?