I had to add a .fol-der/file.txt file to my github pages repo for verification on a platform.
Problem is, I get a 404 error when I enter username.github.io/.fol-der/file.txt in the search bar.
I am not using a site builder like Jekyll, just html files of my own.
Any idea why this could be happening? Thank you.
CodePudding user response:
I have found a fix.
Just add a file .nojekyll in the root of your site’s publishing source.
I would have commented, but I don't have enough reputation points.
CodePudding user response:
GitHub pages will not serve files or folders starting with a .. You will need to rename your folder so that it doesn't start with this character, or use a different hosting service.
