Taxonomy with '# ' and without '#' having issue

Please check my MD file front-matter format.

  1. abc.md
---
title: "abc"
topic:
 - tele
 - support
 - service
date: 20-09-2020
---
  1. def.md
---
title: "def"
topic:
 - #support
 - #tele
 - health
date: 25-09-2020
---

My issue is that, it is showing the same page for the taxonomy with “#” and without “#”. How to handle this?

Please format your code when posting to the forum. See:

Sorry for the same. I formatted it.

Does this change when you put hyphens around the terms?

topic:
 - "#support"
 - "#tele"
 - health

I assume it could have to do with the fact that the # is a URL particle and maybe somehow it get’s “cleaned” up.

You should always be able to do something like this:

topic:
- hash-support

and then in content/topic/hash-support/_index.md

title: "#support"
slug: "hash-support"

Yes, @davidsneighbour you are right. ‘#’ is URL particle and we have to be used another tricky method to replace it as ‘hash’. I am using the same way it works well.

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