I have a small e-commerce site in WordPress and I am having some difficulties in getting the right permalink structure.
Basically, for basic pages it should look like: domainname.com/page_title
Other post types should have the structure: domainname.com/post_type_slug/item_title
Everything is fine except for the blog posts. I want it to look like: domainname.com/blog/post_title
Having the permalink setting as %postname%
, I get domainname/post_title
. On the other hand, /%category%/%postname%
returns domainname.com/category/post_title
. Obviously, entering /blog/%postname%
won't work either because that would affect the permalinks of other post types.
Any ideas? Thanks in advance.