Wordpress + Github pages
An alternative to blogdown
Before knowing blogdown
and how easy it is to create web pages from Rstudio. I started a project to develop a website from Wordpress and convert it to a static site to publish it from Github-Pages.
Although the website never saw the daylight, I configured it to until have a final version. If you do not know R
and Rstudio, perhaps it could be an alternative to consider.
Here are the basic steps and a very illustrative video on how to create a static page from Wordpress and publish it on gh-pages:
Install WAMP64
Create database in
PHPadmin
(i.e. http:/localhost:8012/phpmyadmin)Create repository on Github 3.1 Configure Github repository with
gh-pages
as default branch 3.2. Add an empty.nojekyll
file in the repository rootWith GitHub desktop, clone the repository and put it as local folder (i.e C:/wamp64/www/“repository name”)
Download, unzip, and paste the Wordpress files in a local folder.
Open database installation location (step 1): (i.e. http:/localhost:port/"database name") to install Wordpress
Install Wordpress: database host: localhost and port-of-MySQL (i.e. 3308)
From Wordpress, Install WP2Static.
Select
zip
file option (Although there is an option to export to Github-pages, it gave me several errors during the process).In the configuration of WP2Static, define URL destination.
Unzip, copy and paste he generated file into the local folder (step 3).
Commit and pull from Github desktop.
Tutorial by AKSHAY BHOPANI