Taxonomy for Authors returns 404

I have taxonomies setup.

Tag = "tags"
Category = "categories"
author = "authors"

Taxonomies templates works for tags and categories but not Authors. Is there something I am not doing?
localhost:1313/tags/name - Works
localhost:1313/authors/name - Doesn’t work - 404 page.

I checked through older post and I don’t see any solution on those.

This portion of your configuration is fine. Something else is broken.

You are more likely to receive a prompt and accurate response if you post a link to the public repository for your project.


Let us see your code

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.

Here’s what I did:

git clone --recurse-submodules
cd core-cognition
hugo server

Then I can visit http://localhost:1313/authors/ … no 404 error.

However, this page has no terms (authors) because:

  1. Your templates are broken
  2. None of your published content has any assigned authors

It does have authors.
Please check this kruger-dunning | Core-cognition

Check blog - The Kruger Dunning post in BLog.

  • How do you mean my templates are broken? That link shared up there - is the netlify link that works with the github I just shared.
  • Please check blog - Kruger dunning. You can also check the Basics folder.

On my machine - localhost:1313/authors/ works perfectly. What version of hugo are you using?

No, it does not.

In content/English/blog/ you have:

  - Tjeerd Andringa

But your taxonomy is authors… plural. Details matter.

  1. Delete this. It’s useless.
  2. This is useless too. It doesn’t range through pages.

Thanks. Oopz I missed the s in author. Thank you.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.