I'd like to setup:
www.mydomain.com/a-page/ www.mydomain.com/blog/category_name/ www.mydomain.com/blog/category_name/post_name/ www.mydomain.com/custom_post/post_name/
How would I do it? Thanks in advance
In your WordPress dashboard, go to Settings / Permalinks. Click custom structure, and leave /%post-name%/. You can also edit the tag / category base in this section.
In Options » Permalinks just add a base for post permastruct. Ex:
Make sure that your custom post types are registered with