Install WordPress On Google App Engine root(parent) directory
The Important part ( app.yaml
) First.
application: your-project-id version: A1-B2C-WHATEVER-test(NO dots) runtime: php api_version: 1 handlers: - url: /(.*\.(htm|html|css|js))$ static_files: \1 upload: .*\.(htm|html|css|js)$ application_readable: true - url: /wp-content/(.*\.(ico|jpg|png|gif))$ static_files: wp-content/\1 upload: wp-content/.*\.(ico|jpg|png|gif)$ application_readable: true - url: /(.*\.(ico|jpg|png|gif))$ static_files: \1 upload: .*\.(ico|jpg|png|gif)$ - url: /wp-admin/(.+) script: wp-admin/\1 secure: always - url: /wp-admin/ script: wp-admin/index.php secure: always - url: /wp-login.php script: wp-login.php secure: always - url: /wp-cron.php script: wp-cron.php login: admin - url: /xmlrpc.php script: xmlrpc.php - url: /wp-(.+).php script: wp-\1.php - url: /(.+)?/? script: index.php
This writing is based on Google PHP Developer guide sample WordPress Project to install WordPress on Google App Engine. This Project is to install WordPress on /wordpress
, but some one like me who love WordPress too much and want to install WordPress on Google App Engine root(parent) directory, need to change few things of this project.
First Download the OS based build from here or your can download my version from my download page.
To be continue…