Site Not Found(404) #22765
-
I inputted all my HTML files, CSS files and img folder then tried to go to my page but it said, Site Not Found, with the number 404 on top. Here is my repository: https://github.com/Indiana13Jones/stormpizza.github.io/tree/master. |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments
-
Hello. 👋 To activate a GitHub page, go to your repository settings, scroll down to After that, you should see a green label above the source heading saying something along the lines of If you want the site to be your GitHub root, rename your repository and change the username to your username, so Sometimes you might also need to add Hope that helps. 🙂 |
Beta Was this translation helpful? Give feedback.
-
Once I do that, my images are not loaded in there. |
Beta Was this translation helpful? Give feedback.
-
It looks like the image you’re trying to fetch isn’t in the repository, the code is looking for Modify your code to add the correct image path or add the correct image and that should be fixed. 🙂 |
Beta Was this translation helpful? Give feedback.
-
The weird thing is, on my local version of the website it has a big picture in the background, and I put it in inside the CSS folder. However it isnt showing up. I know how to fix the other pic now, thanks! Just need help witht that one. |
Beta Was this translation helpful? Give feedback.
-
Your CSS is using |
Beta Was this translation helpful? Give feedback.
-
That worked! Thanks. One more question, so sorry for bothering you. I have different oages like a video page and the home one, how can I make links to them with the buttons at the top that I have? I have the coding there i just need to know like the url and how I get it. |
Beta Was this translation helpful? Give feedback.
-
Nevermind, just found out how! Thanks! |
Beta Was this translation helpful? Give feedback.
-
So sorry to bother you yet again. When I go onto my page, stormpizzayoutube.github.io, some items moved up. It looks normal in my local version, how can I fix that? |
Beta Was this translation helpful? Give feedback.
-
This helped. Thank you @thinkverse |
Beta Was this translation helpful? Give feedback.
Your CSS is using
background-image: url(../img/stormpizza.png);
the../
means the CSS will traverse up one directory and then look for theimg
folder, the problem with that is that your CSS is in the root folder when the CSS is traversing up one folder it won’t find theimg
folder, try removing that part and see if the image loads. 🙂