I am trying to host my WordPress site on GitHub from Linux machine using Apache2 and MySQL.
On GitHub :
created repo > username/username.github.io
On WordPress :
'using simply static plugin' simply static plugin settings > general Destination URLs > username.github.io Dir methon : local dir local dir : /var/www/html/static/ (full permission chmod 777)
simply static pluginsettings > include/excule Additional Files and Directories : /var/www/html/wordpress/wp-content/themes/zerif-lite/ /var/www/html/wordpress/wp-content/uploads/ theme name : zerif-lite
Linux terminal :
git init git add -a
git commit -m "first commit"
git remote add origin https://github.com/username/username.io.git
git push -u origin master : creds
but on GitHub page it display:
404 site not found
There isn't a GitHub Pages site here.
1. I worked on /docs(folder)/CNAME(empty file with no extension) but no luck. 2. I tried username.github.com/index.html > it works ( but some sort of gibberish, I think simply static export didn't work correct). motive is : username.github.io should work as home. – john wick Aug 08 '19 at 01:48