Still its 404 Bro!!
My site is still not available and I am experiencing the error 404! Anyone was able to see their websites live?
Did you figure out the issue? I’m having the same one
I assume you were able to push the code successfully to the repo.
Make sure the following things are in place:
- Angular Cli Version should be 8+.
- Repo should be public and not private - navigate to settings and change the repo to public.
- Try the following command: ng deploy --repo=https://github.com/<userID>/<repoName> --base-href=https://<userID>.github.io/<repoName>/
In the settings page, you’ll get the generated link.
Check the network tab to see if the bundles are being loaded successfully, else clear the cache once and try : ctrl + shift + R.
Posting this reply because I ran into the same problem and using the response marked as a solution did not work for me.
To publish my page, I followed the steps in here: https://github.com/gitname/react-gh-pages
I got a 404 error when I navigated to <username>.github.io/<repo-name>
What worked for me was
-ensuring my repo was public
-changing the name of my repo to a new name (to repo-name2 for example) and then
-updating the package.json file with “homepage”: “http://<username>.github.io/<repo-name2>”
-then running npm run deploy command again
this fixed the problem for me.
You need to chooose a theme in settings. Click ‘Change theme’ and choose one.
Thank you! Worked for me.
I also had the same problem like this last week and when using an incognito mode, everything was fine.
My 404 problem was fixed when I called my repository the same as my username.
Thank you SOOOOOOOOO much! This is the piece of info that totally helped me!
thanks so much
this is the real solution. Thanks it worked for me
I’m still having problems.
I’ve had my site for years. I just upgraded my Pelican.
In settings, I’m serving from
gh-pages. My generated code is in
I’ve selected a Jekyll theme (why do I need to select a Jekyll theme for a Pelican blog? I’ve never had to do this before.)
My site is still serving the content from before I updated and pushed the new, generated code.
What do I do?
Thanks it worked.
For those who still are having problems,
I faced the same issue. I published my github pages site and then visited https://nagpalkaran95.github.io/ as advised in the docs but got 404 not found error as everyone.
But, the actual working link is: https://nagpalkaran95.github.io/nagpalkaran95.github.io/
wherereponame is same as <username>.github.io
Hope it helps.
This solved the problem, thank you so much!
@osaimola Thanks bud, well done
When you upload your files to GitHub, make sure you upload them individually, do not upload the whole folder; I discovered that was the reason behind my page not loading initially. It’s worth giving that a try.
This is real …It worked !!! Thank You
But I have another issue …the main file i.e., index.html worked but as I click in my login and Signup button only the html files open not the css.