Drupal 7 Tags Cleanup

Drupal 7 custom module to clean up duplicate and similar tags.

Programming Code © [cronislaw] /Adobe Stock

One of the problems, user’s face is too-many similar tags. Since tags can be created by multiple people, there is a posiblity of two users, creating same tag, with a minor difference.

For example, informationTechnology, Information Technology, Information-Technology, information technology,… are all valid tags and mean the same. When a user wants to tag a content, they often gets confused with which tag to use.

This module, is created as a drush command, scans through such tags, identify which one to keep and deletes other tags. It also updates all content tagged with such similar tags to now tag to real one. For above example, Module would keep Information-Technology and delete all other tags.

Code is available as an open source module on github. All installation and usage instructions are mentioned there.

Project URL: https://github.com/bhar1red/drupal-7-tags-cleanup

Technology : Drupal

Tweet Share Share