Skip to content

Cannot access nested pages #21898

Answered by birdcar
mattyclarkson asked this question in General
Discussion options

You must be logged in to vote

Hi @mattyclarkson!

GitHub Pages uses Jekyll to build all sites by default, and as a result, files with a leading underscore are ignored during the build process by default. More information can be found here:

https://help.github.com/articles/files-that-start-with-an-underscore-are-missing/

Since it doesn’t appear that you’re using Jekyll to build your site, the simplest fix for this would be to add an empty “.nojekyll” file to the root of your gh-pages branch. This will disable Jekyll’s build process and publish your site as is.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants