Hi there,
I am building my website without any errors (see output of hugo server
below) but when going to localhost:1313, I get 404 page not found…
I have been seeking through lots of topics but can’t find where the error is coming from !
Any help would be much appreciated.
| EN
-------------------+------
Pages | 108
Paginator pages | 2
Non-page files | 20
Static files | 11
Processed images | 33
Aliases | 7
Sitemaps | 1
Cleaned | 0
Built in 390 ms
Watching for changes in /Users/sdascoli/Dropbox/Work/Codes/academic-kickstart/{assets,content,data,static}
Watching for config changes in /Users/sdascoli/Dropbox/Work/Codes/academic-kickstart/config/_default, /Users/sdascoli/Dropbox/Work/Codes/academic-kickstart/go.mod
Environment: "development"
Serving pages from memory
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
Web Server is available at http://localhost:1313// (bind address 127.0.0.1)
Press Ctrl+C to stop
See https://discourse.gohugo.io/t/requesting-help/9132.
Include a link to the source code repository of your project, because we really need the context of seeing your templates and partials to be able to help you. It is trivial to do a quick git clone
on your repo, then run hugo server
in your project, to help you out. On the other hand, recreating your code from screenshots, or sort of guessing at it, is not.
If you can’t share your repository for whatever reason, consider creating a dummy repo that you can share, which reproduces the problem you’re experiencing.
Hi ! The problem seems to happen even on this basic template repo, https://github.com/wowchemy/starter-academic
.
I git clone
the repo, then run hugo server
, which produces the output above, but when trying to access localhost:1313
I get the 404 error…
This did not happen before, I think it started occuring when I updated hugo but I’m not sure…
As requested, I just shared a dummy repo that reproduces my problem : https://github.com/wowchemy/starter-academic
.
What can I be doing wrong, if I get the 404 error when simply cloning it and running hugo server
inside the repo ?
This is a theme. Not your project’s source code.
Have you read and followed the Quick Start guide?