wordpress url with format .com/category/sub-category

You can use structure tags in Settings > Permalinks > Custom Structure to form something like /%category%/%postname%/.

That is if your “topics” will be posts. Pages or terms might be more involved to deal with.