You can follow the tips of the following tutorial:
https://tradigitalart.online/blog/2020/07/03/how-to-enable-categories-to-enhance-your-post-visibility/