# Deleting tag synonym deletes tag

**URL:** <https://meta.discourse.org/t/deleting-tag-synonym-deletes-tag/396604>\
**Category:** Bug\
**Tags:** tags\
**Created:** [20 בפברואר,‏ 2026,‏ 2:23pm UTC](https://meta.discourse.org/t/deleting-tag-synonym-deletes-tag/396604 "2026-02-20T14:23:32Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Simon\_Manning](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon_manning/32/198596_2.png) [@Simon\_Manning](https://meta.discourse.org/u/Simon_Manning)\
**Post date:** [20 בפברואר,‏ 2026,‏ 2:23pm UTC](https://meta.discourse.org/t/deleting-tag-synonym-deletes-tag/396604/1 "2026-02-20T14:23:32Z")

</div>

Attempting to merge two tags and remove the incorrect one, I created, then deleted a synonym which resulted in both tags being deleted.

**Discourse version:** 2026.2.0-latest ([7e603d4374](https://github.com/discourse/discourse/commits/7e603d43745b42777b6b718bc882aebaaf0a1711))

**Steps to reproduce:**

1. Create a new topic
2. Give it two tags, `tag1` and `tag2`, and submit it
3. Click `tag1` to navigate to tag filter page
4. Click the wrench to open tag settings
5. Click Edit Synonyms
6. Add `tag2`
7. \>\> At this point `tag2` is removed from the created topic
8. In the list of synonyms, click the small trashcan icon beside `tag2`
9. Choose yes when prompted to remove the synonym
10. \>\> `tag1` is deleted along with the synonym

I use two tags applied to a single topic in the steps for simplicity, this also occurs when the two tags are applied to two separate topics.

**Additional notes:**

The log entry for the deleted tag has no details, it could be useful for this to contain the topic IDs the tag was removed from as part of deleting it.

As far as I could tell, deleting a tag also creates no record of topic edits so I couldn’t use [Data Explorer](https://meta.discourse.org/t/32566?silent=true) to find topics with `updated_at > 'some time'` or list revisions created after ‘some time’.

---

_[View the full topic](https://meta.discourse.org/t/deleting-tag-synonym-deletes-tag/396604)._
