Aeron Atlantis

Like the meeting of the seagulls and the waves we meet and come near. The seagulls fly off and the waves roll away we depart.

Previews problem while running hugo server

2022-11-27 5 min read tech Aeron

What happened

There’s some operation caused 404 page while running hugo server .

Once you changed categories and tags during running hugo server , browser’ll jumped to 404 page after you click the changed categories and tags.

Multiple pictures contained




Process description

For example:

  1. This article’s categories and tags is like this
  • categories: [’tech']
  • tags: [‘hugo’, ‘issue’, ’experience’]

1


  1. After running hugo server , you can simply click categories or tags jump to corresponding page

2


  1. But after you changed categories or tags in editor

3


4


  1. Turns out with 404

5


  1. When you’re running hugo server , this situation includes but is not limited to categories or tags or author etc

6


  1. It also works for adding new one after running hugo server

7




Solution

Just simply Ctrl + C

Then running hugo server

8




Conclusion

I don’t know why, but it is as it is….

I‘m not even a front-end engineer anyway….   :(

Is this article like a kind of simply tips?