# How to use AI to generate categories for your posts

**URL:** <https://forum.seocontentmachine.com/t/how-to-use-ai-to-generate-categories-for-your-posts/882>\
**Category:** faq\
**Created:** [September 29, 2025, 5:43am UTC](https://forum.seocontentmachine.com/t/how-to-use-ai-to-generate-categories-for-your-posts/882 "2025-09-29T05:43:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tim](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/tim/32/486_2.png) [@Tim](https://forum.seocontentmachine.com/u/Tim)\
**Post date:** [September 29, 2025, 5:43am UTC](https://forum.seocontentmachine.com/t/how-to-use-ai-to-generate-categories-for-your-posts/882/1 "2025-09-29T05:43:16Z")

</div>

When using the article creator, the Wordpress export option only allows hardcoded categories.

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/2/2d3166aaeeb7881e61f8eacc3444dd3fa3696008.png)

If you want to use AI generated categories you need to use the `<category>` tag method.

## Add a category tag to your AI prompt

You need to add `<category>` tag to your prompt.

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/9/940da52602d7daee9528e0abe063870e558ff6e5.png)

You can decide the best way to generate the category.

In the example above I ask the AI to generate one using the article title.

## Generate the articles

You can still use the Wordpress export option, just leave the category box blank.

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/c/c42e0472906518c2b0393852bbf84210f14ddfce.png)

Once the task is run click upload button as usual.

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/9/97c37678d394dfcaf15a4f158fac9acdecf7ef89.png)

The posts are tagged with the right category, as generated by the AI.

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/b/bb1e457a3e4cdd714875949e290b26d9d11fdb70.png)

## How does SCM detect the category in posts?

The output of the article has tag in it.

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/c/ccbd2162ef38ec9c96550d82b8d275ee009d03e1.png)

SCM uses this tag to set the category of the post.

If you click on the category drop down you can see the option in the list.

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/a/aa7f050c5b298674a3c81c35a4b11684ca581a48.png)

The category tag is removed from the article body before being posted online.

---

<div class="post-metadata">

**Author:** ![ShanghaiMike](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/shanghaimike/32/2688_2.png) [@ShanghaiMike](https://forum.seocontentmachine.com/u/ShanghaiMike)\
**Post date:** [September 30, 2025, 2:45pm UTC](https://forum.seocontentmachine.com/t/how-to-use-ai-to-generate-categories-for-your-posts/882/2 "2025-09-30T14:45:28Z")

</div>

Thank you so much Tim, the instructions is very clear to follow.  
It save tons of time to edit the Category later.

---

<div class="post-metadata">

**Author:** ![ShanghaiMike](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/shanghaimike/32/2688_2.png) [@ShanghaiMike](https://forum.seocontentmachine.com/u/ShanghaiMike)\
**Post date:** [September 30, 2025, 2:46pm UTC](https://forum.seocontentmachine.com/t/how-to-use-ai-to-generate-categories-for-your-posts/882/3 "2025-09-30T14:46:05Z")

</div>

Is there anyway to let AI to re-use some of the existing categories?  
Otherwise 1000 articles would have 1000 categories.

---

<div class="post-metadata">

**Author:** ![Tim](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/tim/32/486_2.png) [@Tim](https://forum.seocontentmachine.com/u/Tim)\
**Post date:** [October 1, 2025, 6:20am UTC](https://forum.seocontentmachine.com/t/how-to-use-ai-to-generate-categories-for-your-posts/882/4 "2025-10-01T06:20:46Z")

</div>

You would have to pre-generate categories manually before hand if you want to re-use it.
