404 error #155577
-
Select Topic AreaQuestion BodyI am getting 404 error - as File not found. I developed a site using Manus and deployed here in GitHub but I am getting this error The site configured at this address does not contain the requested file. If this is your site, make sure that the filename case matches the URL as well as any file permissions. Read the full documentation for more information about using GitHub Pages. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hello @simpleman181, It looks like your static files are inside a subfolder (indialinks_directory_website) in your repository. Current (won’t work): Correct structure: 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! |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for the answer |
Beta Was this translation helpful? Give feedback.
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!