I successfully deployed a WordPress website on Heroku.
Here is what I did:

  1. Download wordpress
  2. Push all file on a Github repository
  3. Create Heroku app
  4. Link Heroku app to Github repository
  5. Create clearDB database and update to wordpress config file
  6. Deploy

Everythings is working fine. But whenever I update a file on the github repository and re deploy the heroku app, all user generated content are getting overwritten such as plugins and media contents.

How can I update my wordpress source code without losing any content?

Read more here: How to update WordPress files on Heroku?


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: