Skip to content

Conversation

@kzu
Copy link

@kzu kzu commented Jan 17, 2016

In order for the 404 to be picked up by jekyll/github pages,
it has to be in a 404.html file on the root. However, if the
file is named exactly '404.html', it won't be processed by
jekyll.

Rather, you have to provide a 404.md file, and specify its
permalink to be 404.html, which fixes the issue.

Working version at http://www.cazzulino.com/wrong-url.html.

In order for the 404 to be picked up by jekyll/github pages,
it has to be in a 404.html file on the root. However, if the
file is named exactly '404.html', it won't be processed by
jekyll.

Rather, you have to provide a 404.md file, and specify its
permalink to be 404.html, which fixes the issue.

Working version at http://www.cazzulino.com/wrong-url.html.
@mdo
Copy link
Member

mdo commented Apr 4, 2020

Fix coming in #258. I brought over your changes from Lanyon :).

@mdo mdo closed this Apr 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants