Hi all, how would I find a category’s id?
1 Like
When you go to the category, in the URL you’ll see /xx/
after the category title. The 5 is the category ID in this case.
/c/water-cooler/5
8 Likes
Wonderful! Thank you very much!
1 Like
Hi there,
So what @JimPas suggested is fine if we only need to check the id of 2-3 categories. However, what if we need to know the category ids of all the categories (and subcategories) within our forum?
And what if our forum was like that of Mozilla with a gazillion of subcategories?
I don’t suppose we have a way to view all of them under Site Settings?
I think the easiest way would be a data explorer query.
Something like:
SELECT name, id
FROM categories
ORDER BY name
3 Likes