🎊 Valentine's Day DISCOUNT! + 2x Benefits for FREE


How to Choose a Primary Category

Posts on your website may belong to a number of different categories and with the help of Rank Math SEO, you can indicate which category is the primary category. In this article, we will show you why you should be selecting the primary category and how you can choose a primary category with the help of Rank Math.

How to Choose a Primary Category in WordPress? Rank Math SEO

Why Should You Select the Primary Category?

You need to choose the primary category for your post when your post belongs to different categories for a number of reasons.

For Breadcrumbs

The primary category will be used in the breadcrumbs and even for the Breadcrumbs Schema, provided — you have to set the primary taxonomy to “Categories” under WordPress Dashboard → Rank Math SEO → Titles & Meta → Posts to work correctly. If you’re unable to see the Primary Taxonomy option here, ensure you’re using Rank Math in the Advanced Mode.

set primary taxonomy

If your site’s permalink structure uses “%category%“ and if the primary category is not set then the correct category slug might not be used in the permalinks of your post with more than one category.

custom structure

Similarly, if your product’s permalink structure uses %product_cat% and if the primary category is not set, then the correct category slug might not be used in the permalinks of your products with more than one product category.

Product permalink structure

For Schema Markup

Rank Math generates Product Schema Markup with the set primary category to indicate the category hierarchy of the product. And besides, to check if the correct category has been used for the Product Schema Markup, you can use the rich results testing tool.

How to Choose a Primary Category?

In this section, we’ll walk you through how to easily select the primary category when you are editing a post with the help of the Rank Math SEO plugin.

Step 1: Open the Post/Page/Product in your WordPress dashboard.

Step 2: Choose more than one category from the list of available categories in the sidebar of your editing post screen.

select categories

Step 3: Choose the Category radio button to set your primary category in the case of Classic Editor.

Set Primary Category in Classic editor

And for Block Editor, set your primary category from the drop-down list.

select primary category in Block editor

And, that’s it! If you still have any questions about primary categories and how they work, feel free to contact our support team, who are available 24×7 and more than happy to help…

Still not using Rank Math?

Setup takes less than 5 minutes including the import from your old SEO Plugin!

Learn more about the PRO Version

Still need help?


Submit Your Question

Please give us the details, our support team will get back to you.

Open Ticket

Related Articles