Can I host my wordpress blog on github pages as a static webpage

Hari picture Hari · Oct 2, 2015 · Viewed 36.2k times · Source

I would like to make my WordPress blog installed on Localhost to push into GitHub and run that on GitHub as a static page. Can I do it, and if yes please give me a detailed answer with the steps and problems involved?

I don't care if my page is static, but will I be able to host it on GitHub pages?

Answer

Christoph picture Christoph · Jun 1, 2017

This website gives a good answer on how to do this: https://www.hywel.me/static/site/wordpress/2016/07/17/fast-free-static-website-with-wordpress-and-github-pages.html

in short:

  1. Setup github pages
  2. Install Simply static plugin into wordpress
  3. Push the export from the plugin back to your git repository and you are done!