preloader LOADING

42Works Blog

Posted on February 27, 2020

WordPress 101: Tips, Tricks & Hacks

On the surface, WordPress is a Content Management System, but dig a little deeper and you find out that it supports a vast ecosystem. This vast ecosystem is built on thousands of themes, plugins, community-users, etc. As all the elements of this ecosystem come together, they create a user-experience unparalleled by any other Content Management System on the market.

This ecosystem has also resulted in the creation of a Content Management System that is so easy to use, it even attracts complete newbies. It is this ease of use that empowers people with the most basic knowledge of website designing to build on their dreams and turn it into reality. 

The prime example of the above statement is the rise in the number of people who pursue their niche blogging ideas on the internet. With the rise in the number of people blogging with WordPress, the problems encountered have also increased. For example, the problem of unidentified tags after a blog post has been manually deleted. In the long run, these unidentified tags can pose a maintained nightmare for the website owner/developer. 

How To Identify Unused tag?

Therefore to help you in identifying these tags we bring to you a simple hack that you can learn in no time. To save your website from crashing due to excessive unidentified tags, we need to identify them. The following steps detail hack how you can identify these tags from your MySQL database.  

Step 1 – Run the below SQL query to identify these unused tags:     

SELECT * From wp_terms wt

INNER JOIN wp_term_taxonomy wtt ON wt.term_id=wtt.term_id WHERE wtt.taxonomy='post_tag' AND wtt.count=0;

Step 2 – Delete the unnecessary tags to save operational space.


Leave a Comment:

Your email address will not be published.

para glider
Have a Project ?
We are just as excited

Contact Us

about your Idea
My name is
& I'm interested in discussing about
for my project
. You can email me at
or ring me up at
.

Virginia United States 3.237.67.179 https://42works.net/tech-hacks/identify-unused-tags-in-wordpress