Redirect https:// to https://www on Google App Engine
I'd like to redirect https://example.com to https://www.example.com for my PHP project on Google App Engine. What I've done so far: Added and mapped the custom domains for both example.com and www.example.com. Updated the DNS with the provided records to redirect example.com to www.example.com. Uploaded an SSL that covers both example.com and www.example.com. Added "secure: always" in the app.yaml. Here's what happens: http://example.com redirects to https://example.com. http://www.example.com redirects to https://www.example.com. The website resolves properly for both URLs, but I'd prefer that the secure naked domain redirects to the secure www subdomain. I've researched all of the related posts on Stack Overflow, but can't seem to find anyone having the same issue. Please help. Thanks!
NDB querying a GenericProperty in repeated Expando StructuredProperty
objectify filter empty values
GAE error (<stderr>: SystemId Failed
Backend instance at custom domain
Manually add entity to empty Google App Engine DataStore
Google App Engine Log - ms and cpu_ms [duplicate]
unable to deploy after upgrading to 1.7.4
Model.get(list_of_keys) in a transaction, filtering a single entity group instead of throwing BadRequestError
Google app engine and JPA with Eclipse plug-in
Many-To-Many Relationships in Google App Engine Datastore (ndb)
Is it possible to run Google Omaha on Google App Engine?
Loading request start-up time variation in google app engine?
GAE 1.7.3 - How to debug appengine-web.xml XML error validating
How to setup data fixtures in Google App Engine for Go
How to write a JDO Query to sort result based on long attribute?
GAE doesn't import gflags