Closed t-h-e closed 5 years ago
I use nginx to run this website. I got a 404 error after setting it up and trying to access all blog posts through the link "All posts ..." in the blog, because it links to "https://your-domain.com/allposts" instead of "https://your-domain.com/allposts.html".
To solve this, you either have to add .html to /allposts in _layouts/post.html line 15
.html
/allposts
Or make nginx rewrite the url, which seems more complicated.
Thanks for providing this theme. I really like it 😃
you can have a look at the nginx.con for solving this problem.
I use nginx to run this website. I got a 404 error after setting it up and trying to access all blog posts through the link "All posts ..." in the blog, because it links to "https://your-domain.com/allposts" instead of "https://your-domain.com/allposts.html".
To solve this, you either have to add
.html
to/allposts
in _layouts/post.html line 15Or make nginx rewrite the url, which seems more complicated.
Thanks for providing this theme. I really like it 😃