
بروزرسانی: 28 خرداد 1404
How to Convert WordPress Categories to Custom Taxonomies
Next, simply add the IDs for all the categories that you want to convert into a specific taxonomy. Keep in mind that if you add more than one category ID, then you will have to separate them using commas.

Note: AIOSEO also has a free version. However, you will need the pro version for this tutorial to unlock the 301 redirection feature.
This means that we will be converting a category into a custom taxonomy.

Now visit your WordPress block editor by opening up a new or existing post/page.
However, if you want to skip the child categories, then you can type the parent category next to the ‘Limit taxonomy switch for child terms of a specific parent’ option. This way, only the parent category will be switched to a taxonomy.
Finally, click the ‘Add Redirect’ button in the right corner.

As your WordPress blog grows, you might need to convert your categories into a custom taxonomy because it can be overwhelming to file and keep track of each post in a category with different subcategories.
The category edit URL will now appear in a popup box at the bottom left corner of your screen.
Here, you will notice that the category you switched to taxonomy is now displayed in the block panel on the right corner of the screen. From here, you can now easily add new terms or use existing ones for your WordPress blog post.

How to Set Up Redirects From Category to Custom Taxonomy
Using custom taxonomies for tagging allows for more accurate and detailed classifications and better content organization.
However, by creating a custom taxonomy for each of these topics, you can make content organization easier.
Some of the categories in WordPress also have subcategories (child categories).
Next, make sure that ‘301 Moved Permanently’ is chosen as the redirect option from the dropdown menu.
If you want to convert all the categories on your WordPress site into this specific custom taxonomy, then simply click the ‘Switch Taxonomies’ button.
In this article, we will show you how to easily convert WordPress categories to custom taxonomies.

Why and When Do You Need to Convert Categories into Custom Taxonomies?
You will now see the taxonomy that you have created along with the default taxonomies in the Posts menu tab in the WordPress sidebar.
The Redirects page will now be displayed on your screen.
This redirect will now send all your category archive traffic to your custom taxonomy.
However, we recommend using this method only if you don’t want to use categories at all.
First, you will need to install and activate the Taxonomy Switcher plugin. For more detailed instructions, you may want to see our step-by-step guide on how to install a WordPress plugin.
If you liked this article, then please subscribe to our\xa0YouTube Channel\xa0for WordPress video tutorials. You can also find us on\xa0Twitter\xa0and Facebook.