Page for Page Redirect in Google App Engine

Posted by clifgray on Pro Webmasters See other posts from Pro Webmasters or by clifgray
Published on 2012-12-06T17:44:28Z Indexed on 2012/12/06 23:27 UTC
Read the original article Hit count: 271

I have recently changed domain name for a webapp I run on Google App Engine and I am wondering if there is a simple way to do a page for page redirect from my old website to the new domain. Everything code wise is staying exactly the same but I just want it to go to the new domain.

I am using python and the webapp2 framework for the webapp.

I know I could go through and for every single handler do:

webapp2.redirect('the specific url', permanent=True)

But I am hoping for a simpler solution.

© Pro Webmasters or respective owner

Related posts about domains

Related posts about 301-redirect