how to fix github pages show 404 - github

I am access my github pages:https://jiangxiaoqiang.github.io/. But it shows 404 page not found.I am sure about this:
I am already add index.html in my repo
The index.html file in the master branch
I read other users solution but still did not understand why my github pages not work.How to fix? By the way, this is my repo source:https://github.com/jiangxiaoqiang/jiangxiaoqiang.github.io. When I am using this https://jiangxiaoqiang.github.io/index.html. it works.

Related

How to fix 404 Error on Github pages? [github]

here is my github repository. I uploaded html and css files on main branch, then created gh-pages branch and made a pull-request. Link still doesn't work. When I try to open page it gives me 404 File not found. Any solutions ?here is the error

Github Pages 404 error after deleting repository and recreating it again

I created a github repo for the github pages with the name christianbauer1.github.io
Everything worked fine until I deleted the repo.
When I recreate a repository with the same name, the link gives me a 404 error.
What have I done wrong here?
I found the answer in an answer on his question:
How to fix HTTP 404 on Github Pages?
Just have to wait around 10 min until the browser refreshes the 10 min cache before its on the web. To preview the page you can add the index.html https://username.github.io/index.html

How do I fix 404 error on Github Pages for a personal page I'm creating

I tried to access my GitHub page:https://adityakm24.github.io/ But it shows 404 pages not found. I looked for many tutorials online but couldn't come up with a proper solution. Adding /Index.html doesn't work either. But I am sure about adding the index.html in my repo and index.html file is in the master branch.
https://adityakm24.github.io/ means a User page, for a GitHub repository named <user>.github.io at, in your case, https//github.com/adityakm24/adityakm24.github.io
Make sure you have selected a Source in the settings of that repository: it should be master by default.
And your file must be index.html, not Index.html (it is case sensitive)
You need to choose the branch properly in the settings page as shown below
Go to settings>manage access>manage
Here I can point out two reasons why it is not coming up
Provide the proper 'homepage url' in your package.json. This is a very important step. Follow this convention- "https://{username}.github.io/{RepoName}/". Anything other than this will give 404 error.
Go to your github repository and select the gh-pages branch.(No other branch will work)

404 Error on files that exist in the proper place on GitHub Pages

This is my first attempt at using GH Pages, and I have a pretty simple blog site created with Vuejs.
I've created my repo, then deployed the built code to a gh-pages branch, and the settings are pointed to that branch.
However, I get a WSOD when I try to view my site, and when I look in the console, I get a list of messages that the referenced files can't be found.
When I look in the /static directory in the gh-pages branch, though, all of the files that it says are missing are actually there where they're supposed to be in relation to index.html.
What am I missing that keeps the site from showing?
If you look into the requests, you would find out requesting
https://wonder95.github.io/static/css/app.da01b7b80b6795e91d3ceace476633af.css
This has missed the /smga/ part, and is not what published in your git pages. As the correct link should be
https://wonder95.github.io/smga/static/css/app.da01b7b80b6795e91d3ceace476633af.css

is it possible to change where github pages looks for index.html?i

I have searched alot but I can't find a solution. I'm using middleman aand my directory structure is like this
Project
--Source
---javascript
---stylesheets
---index.html.erb
---submit.html.erb
When I deployed my project on github and tried to access the site it's giving me 404 error that it cannot find the index.html page can you tell me that if there is a way I can change the link to index.html
I have tried this solution but this does not works
Can I have my Github Pages index.html in a subfolder of the repository?
Here's the link to my git repo
https://github.com/Gardezi1/Gardezi1.github.io