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
Jochem
Jochem•15mo ago
github doesn't run PHP, which is what wordpress needs to work
Moni
Moni•15mo ago
this is my folder structure
No description
Moni
Moni•15mo ago
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
Jochem
Jochem•15mo ago
are there any php files in your project at all?
Moni
Moni•15mo ago
no
b1mind
b1mind•15mo ago
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)
Moni
Moni•15mo ago
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
b1mind
b1mind•15mo ago
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
Moni
Moni•15mo ago
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
b1mind
b1mind•15mo ago
idk what you mean by selected 😄
Moni
Moni•15mo ago
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
Jochem
Jochem•15mo ago
wait, are you having trouble pushing the files to github using git? I thought you were having issues deploying to github pages
b1mind
b1mind•15mo ago
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
Moni
Moni•15mo ago
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
Want results from more Discord servers?
Add your server