Jump to content

How to delete all tags


Gabriel Torres

Recommended Posts

Posted

Hello,

Due to the massive number of users not using the tag system properly, we decided to disable it, but keeping the prefix system enabled, as we use prefixes in a few forums. We were able to configure this behavior correctly using the Advanced Tags & Prefixes app.

Now we want to delete all tags already set (but preserving prefixes), and I thought an easy way to do that would be running an SQL query. I spent an hour going through IPS database structure, but couldn't find where the relationship between topic IDs and tag IDs is stored.

Any advice would be extremely helpful.

@Ryan H.?

Thanks.

Posted

core_tags having tag_prefix=0. Topic ID is tag_meta_id where tag_meta_app=forums. Once you clean that up, you'll have to recache tags to fix core_tags_cache, then reindex search to fix core_search_index_tags.

Have fun. :)

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...