Post under /blog/ slug - URL

Hi there,

I have created a new post as you can see here: https://prnt.sc/VOa3e6mQfHkR
And added category as - Blog

But there’s no /blog/ in the URL as you can see: https://prnt.sc/0PRNjS1CAKZe

I want to be www.mysite.com/blog/something-here-i-write-about

How can I do that?

Hey Kate,

Thanks for reaching out!

If you want to add the category in your post title, you need to change the permalinks. It should be set to custom and the parameters should be /%category%/%postname%/. See this as an example:

On the other hand, let’s suppose you file your blog posts into multiple categories. WordPress will only include one category in the URL. WordPress chooses the category alphabetically. For example, if you file a post in Apple and Technology categories, then WordPress will include apple in the URL because it comes first in alphabetical order.

Hope that helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.