How to Fix: The slug “Category-Name” is already in use by another term in wp

Error: Some times when you try to add a category in wordpress it adds -2 in slug of the category and when you try to rename it says " The slug “category-name” is already in use by another term "

It is not something serious what happens is that the slug is already there in database but if you can not find it in the category then it can be a page, tag or post link. So i always recommend my team that first create all the category the customers want so they do not have to face this issue later.

The solution for this error is very simple and you can do it in two ways.

1. Solution from Wordpress Panel:

First make sure that there is no category with the slug you are trying to use. If that is fine check pages and posts but if that is fine then

Go to tags and 99% of time i received complain from my customers this issue was caused because of the tags.

Go to Posts => Tags search and delete the tag which is similar to the slug you are trying to add or rename. After deleting create or rename the slug it will work this time.

2. Solution from Phpmyadmin:

This becomes handy when you are unable to find the duplicate slug in wordpress panel. So log in to your Cpanel and then phpMyAdmin. In phpMyAdmin select the database of your site.

In Database click wp-terms . Then Search.

On search page at slug option choose the second command LIKE%...% and enter the category link you are looking for. Below is the image of how everything will look like and what you have to do.

When you will click go you will see the slug on next page in database just select it and delete it.

Now you will be able to create the desired category in wordpress panel.

I hope this article is helpful to you and if you have any questions please feel free to ask me.



Android,2,Blogger,2,Cellular,1,com,1,domain,1,Earn Online,2,Gadgets,3,Gaming,2,Google,4,Google Maps,1,Health,2,Photoshop,3,Security,5,SEO,1,Softwares,9,Tech News,16,Ufone,1,Web Development,14,website,1,Windows,7,Wordpress,9,
Sufis Tech: How to Fix: The slug “Category-Name” is already in use by another term in wp
How to Fix: The slug “Category-Name” is already in use by another term in wp
How to fix error: The slug “Category-Name” is already in use by another term in wordpress administrator panel through tags and category option only.
Sufis Tech
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy Table of Content