How to fix 404 Error on Github pages? [github] - 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

Related

Why doesn't my own GitHub page show my project?

This is my first GitHub page; I have created repository and even pasted my project into it, but when I enter the URL it gives me 404 error with "There isn't a GitHub Pages site here" description.
My project called 'weather-app' and the URL: https://salehghari.github.io/
So it should be like this: https://salehghari.github.io/weather-app/weatherapp.html
I checked your repository on Github and all the Builds under Actions are marked as Failure with the following error under Deploy:
Error: No uploaded artifact was found!
Under Build I see this:
Error: fatal: No url found for submodule path 'weather-app' in
.gitmodules Error: The process '/usr/bin/git' failed with exit code
128
You are using a submodule but I don't see a clickable link on the repository, are you sure that is correct ? Check if this submodule is correct, there is also an issue on Github Community about this topic.
You need to configure the branch you want to use for your GitHub pages site.
These are the steps you need to follow
I deleted that repo and created another. that un-clickable folder in previous repo was caused the 404 error. Because I had pushed that folder on GitHub once so it means It had had a .git file in it. Thank you every one I appreciate your helps

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 to fix github pages show 404

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.

404 Error on all github pages except for index.html (no underscores)

I am experiencing a 404 error on every page other than the home index.html page. Any ideas?
Here is my GitHub repo: "https://github.com/lfalisse/Home"
I've been looking for a solution through other posters but unlike (Github Pages 404 for everything but index.html) I don't have any underscores in my file names.
It depends what URL you are actually using for testing those pages.
For a normal GitHub repo, you can publish it as a project page site: http(s)://<username>.github.io/<projectname>.
In your case:
https://lfalisse.github.io/Home/
And you can see that https://lfalisse.github.io/Home/Poster/Poster.html does not return 404: it is actually accessible.

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