Hello…
so i recently developed code for my website published on git and was unable to publish it on netlify for reasons i dont understand. all my repos didnt work and i kept getting the 404 error when even seems fine in my html folder. the code contains some bootstrap 5, images and icon and i dont know if that could stop it from working
https://poetic-squirrel-814bdb.netlify.app here is the site name. i dont know if it is legal to include my git repo here. please i need help.
coelmay
September 7, 2022, 11:10pm
2
Hey @Driscoll
Have you checked out this support guide
Last reviewed by Netlify Support - August, 2023
Netlify attempts to lookup a file based on several xor filters, and when all of these fail, we end up serving a 404 page. For example, a request made to /example/ would check /example/index.html, /example.html, /example/home.html and several other combinations (not necessarily in the same order) before hitting the 404. However, in case you were not expecting a 404 at a particular URL, you might be interested in finding out the reason and potentia…
If you are still having issues, can you share the repository you are deploying from the the build settings from the Netlify UI?
i have carefully checked out the support guide and non of it applies to the issue i’m having right now. i will share the repo. GitHub - GreenY3z/kasabubu: An imaginary E-learning Platform.
clarnx
September 8, 2022, 12:07am
4
Hello @Driscoll , sorry you are having a hard time deploying your site.
We attempt to serve only /index.html
in case you try to load your site without a path, for example:
https://yourdomain.name/
Kindly rename the medical.html
in your project folder to index.html
and then redeploy again.
Hope this helps.
1 Like
thank you it finally worked. turns out i only renamed it in my local file but it didnt commit to my github. thank you.
1 Like
clarnx
September 8, 2022, 12:18am
6
You are welcome @Driscoll . I’m glad you finally got it working.
1 Like