Skip to content

404 error #155577

404 error #155577
Apr 2, 2025 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Hello @simpleman181,

It looks like your static files are inside a subfolder (indialinks_directory_website) in your repository.
To make GitHub Pages work properly, the main index.html file should be at the root of the repository.

Current (won’t work):
https://github.com/simpleman181/shopindia/indialinks_directory_website/index.html

Correct structure:
Copiar
Editar
shopindia/
├── index.html
├── style.css
└── other assets..

Also, make sure to enable GitHub Pages in the repository settings and select the correct source branch (usually main) and folder (/root).

Hope that helps!

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by simpleman181
Comment options

You must be logged in to vote
1 reply
@leonardorifeli
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pages Host a static website, right from your repo Question Ask and answer questions about GitHub features and usage
2 participants