Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

404 not found on all pages but home page #586

Closed
maraoz opened this Issue Oct 1, 2014 · 3 comments

Comments

Projects
None yet
2 participants

maraoz commented Oct 1, 2014

Hello.
I'm trying to run the site in development. I followed the README instructions, and I got jekyll running:

$ jekyll serve
Configuration file: /home/maraoz/git/bitcoin.org/_config.yml
       Deprecation: The 'server_port' configuration option has been renamed to 'port'. Please update your config file accordingly.
            Source: .
       Destination: ./_site
      Generating... done.
    Server address: http://0.0.0.0:4000
  Server running... press ctrl-c to stop.

When I go to http://localhost:4000/ or http://localhost:4000/en/, it works, but any other URL throws a 404: not found error. For example, clicking on 'Innovation' link redirects to http://localhost:4000/en/innovation, which throws a 404.

Any ideas on what I might be doing wrong?

Contributor

saivann commented Oct 1, 2014

@maraoz Sure, you can just add a trailing ".html" by hand http://localhost:4000/en/innovation.html . As mentioned on the README; https://github.com/bitcoin/bitcoin.org#previewing , the built-in little server used with jekyll does not support clean urls.

maraoz commented Oct 1, 2014

Thanks @saivann! For some reason I didn't read that last line :)

@maraoz maraoz closed this Oct 1, 2014

Contributor

saivann commented Oct 1, 2014

np :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment