Issues with tags going 404 and sitemap-tags.xml empty


Installed latest version of ghost on GCP last weekend (ubuntu 20.02 and recommended versions) and everything is working as expected except that I had the brilliant idea (not!) of deleting the tag that comes with the default installation and creating a new one and now:

  • sitemap-tags.xml is empty
  • tags in posts now go to 404

Any idea of whats going on?

Tried to upload a new routes.yaml with this change

  tag: /topic/{slug}/
  author: /author/{slug}/

and URLs work as expected but didn’t fixed previous issues. Returned to the default one and no change in sitemaps or links to tags, still broken.

Using headline theme, if that makes any difference (problem also occurred with casper).

Any hints of things I can check or do?

edit: rebooted machine, links to tags no longer 404, now only sitemap-tags.xml is broken.

Sorry for replying to my own post but, without changing anything, the sitemaps and tag links started working again.

The sitemap-tags.xml was broken for several days now. What was needed to fix this was me posting the problem here. Funny how things work. Sorry for the inconvenience.

1 Like