WordPress Heroku Blog as Facebook App when needs a complete re-installation or a fresh update, it open the problems with Heroku Cloud, simply follow this guide. We wrote the guide how to deploy WordPress Heroku Blog and create a Facebook App. Take that, the person has a Facebook App that is not WordPress. But the user wants make it WordPress Heroku Blog as Facebook App. The user will get the Free SSL of Facebook and Free Cloud Hosting of Heroku. This is where we will help you to do it yourself.
WordPress Heroku Blog as Facebook App : The Points which are taken as you already know
We are taking you are using Windows PC as it is probably most difficult to use command line tools of UNIX, you are using Heroku Toolbelt or ang Git Bash software.
Steps for WordPress Heroku Blog as Facebook App
There is no need to jump with Facebook. You will not need anything to do with Facebook. The url of your old or newly created Facebook App actually is hosted on Heroku Cloud. So using the Bash will serve the purpose.
If your App’s name is salty-gorge-5565, you will find the local git repo on you computer under Desktop > your username > your app named folder :
Delete it. Yes delete it. Because we will clone it freshly from your existing App. So after deleting it, login to Heroku from Git Bash and type :
You are in the folder where you have deleted the App from. Clone it (change the App name with yours).
git clone email@example.com:salty-gorge-5565.git -o heroku
You will see your old good folder has been created again on that local folder on Windows PC. Browse inside the folder and delete non Facebook App related stuffs.
It is clean local repo now. Change directory to your app folder from Git Bash :
Define it :
git add .
Download special WordPress, actually it saves lot of time :
git clone git://github.com/mhoofman/wordpress-heroku.git
Move all the contents from wordpress-heroku subfolder either from Windows Explorer or from Git Bash.
Make it production now :
git checkout -b production
This is a bit wrong step, but to avoid Heroku’s error. Create a database :
heroku addons:add heroku-postgresql:dev
I have circled œJADE it will be different for you. Run :
heroku pg:promote HEROKU_POSTGRESQL_COLOR
For me, the COLOR was JADE.
cp wp-config-sample.php wp-config.php
We already done this step, so no need :
git add .
And commit :
git commit -m "Initial WordPress commit"
Push it :
git push heroku production:master
Go to the Heroku Clou App URL and Install WordPress normally as we do. One important thing is :
Change your Blog and Site URL from http:// to https:// within that infamous WordPress Blog URL settings option page. Otherwise you will get mixed content error. This is one important point for successful WordPress Heroku Blog.
You can see my Facebook WordPress Blog, nicely running with w3 total cache plugin :
Follow the Author of this article :