Wordpress website on github
Can host my wordpress webiste as a statice website on github i am trying to uploading it but only my github index.html file is uploaded to the github other files are not uploaing the size of these files is not more than 22 mb
14 Replies
github doesn't run PHP, which is what wordpress needs to work
this is my folder structure
i do not have any database just a simple theme of worpress which has a index.html files and in other folders there is it's css and javascript
are there any php files in your project at all?
no
how do you have a WP with no php files xD
Also idk how you would use WP without a DB everything it does uses it.
I could be ignorant to some special way to make a SSG site with WP? (not JAMstack/headless)
do not know how but it does not have any php files xd
@b1mind in this image there are three folders one "wp-content" which has images,in wp-includes i have css and js and in wp-json i have json files
yea I use WP a lot I know the folder structure and it all relies on php/sql
So I'm confused on what you are doing period.
where does the wp-json get generated?
because that is typically used for headless/rest API
but if i do not selct wp-json and select other files then are not selected only my index.html is getting selected
i think there might be another issue at least the file should be selected if my folder have css and js files
idk what you mean by selected 😄
selected while uploading on github . I try to select my files and then upload these but only index.html got selected and uploaded on github
wait, are you having trouble pushing the files to github using git?
I thought you were having issues deploying to github pages
yea this, I was under the impression you were trying to host on github pages (which unless you have a WP rest API and JAMstack front end) you won't be able to do.
even then you would still need to host the WP side of things xD
yes there is a issue i am receiving a message you can not upload more than 100 files at a time . i have read a article in which it is written that you can only upload more than 100 files on github via github desktop .
so i am trying that now