google-app-engine


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!

Related Links

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

Categories

HOME
assembly
api
string
rdbms
fftw
owl-carousel
soa
barcode
fosrestbundle
jquery-ui-sortable
endeca
siddhi
filechannel
angular-dart
spring-social
supervisor
comsol
frequency-distribution
plink
entitymanager
glyphicons
jersey-1.0
smartclient
jmp
aggregation
resourcebundle
beta
perlbrew
data.stackexchange.com
bulletphysics
user-defined-functions
wacom
clickjacking
jett
pop3
zoomify
cd
mongoose-schema
jvmti
rfc3339
procfile
opennms
context-switch
appdomain
colorbar
git-flow
ngmaterial
shinobi
taocp
meteor-packages
mapxtreme
segment-io
dup
redis-cluster
boomerang
linklabel
avisynth
.bash-profile
viola-jones
omnifaces
uvc
kubuntu
android-broadcast
fits
zxspectrum
mass-assignment
iiop
ignite-ui
grails-domain-class
grails-plugin-rabbitmq
ios8-extension
paste
renderer
windows-phone-8-sdk
observium
workitem
dolby-audio-api
composite-component
resource-management
intersect
pyunit
fusefabric
database-create
catransform3d
u2netdk
qglwidget
diagrams
interprocess
hbm2java
isapi-extension
scrollbars
mathematical-notation
perl5.12
unmanagedresources

Resources

Encrypt Message