I am trying to have a permalink strucutre as follows:


My permalink settings is as follows:


The category base is blank.

But if I go to /category/child-category, the link 404s. It only works when I go to /child-category. Also, the post URL only works as follows:


What would I need to do to have the permalink strucutre that I am trying to accomplish?

Read more here: Custom Permalink with child categories creating 404


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: