Site icon Hip-Hop Website Design and Development

Category URL to use same string as Post URL Permalink

I want to set up my site to have the following permalink structure:

/learn/%category%/%postname%

So in the permalinks section of wordpress, I set that as the custom structure. The issue is, when I click on a category page it’s just:

 /%category%/

(it’s ends up being a /category/subcategory/ url).

So I tried setting the category base on the permalinks setting page also to /learn/, but then I get a 404 when I go to a post’s page.


How do I make it so both category pages and post pages use the /learn/ to start the url?