I'm trying to update a blog post url to have its own parent. For example I want to change this url from:
test/blog/my-post
to
test/blog/category/my-post
When updating in the edit post page, it reverts back to the original. Do I need a custom post type or something? Thanks!
I'm trying to update a blog post url to have its own parent. For example I want to change this url from:
test/blog/my-post
to
test/blog/category/my-post
When updating in the edit post page, it reverts back to the original. Do I need a custom post type or something? Thanks!
Share Improve this question asked Jun 2, 2020 at 17:13 cup_ofcup_of 2191 gold badge4 silver badges13 bronze badges1 Answer
Reset to default 1You can't add subfolders on individual posts. You can go to Settings > Permalinks and set it up there - you'll want to use a custom structure:
/blog/%category%/%postname%/