I want to change the article url as "www..com/post/%post_id%". For example, www..com/post/156/ And now, I did it.
But I don't know how to change the category like this. For example, www.***.com/category/12/.
Generally, the category url is www..com/category/cat1/cat1.1/cat1.1.1/. I want to get www..com/category/cat1.1.1/( just show the last subcategory ).
And now I want to only display the ID of the cat1.1.1, like www.***.com/category/12/ ( the id of cat1.1.1 is 12 )
Who can help me?