custom url structure for posts
-
This is my blog page
mysite.com/blogHere is a basic blog post
mysite.com/my-postHere is a post with my custom post type
mysite.com/custom-post-type-/my-postI went into permalink settings and changes the custom structure to be /blog/%postname%/. So now I get:
mysite.com/blog/my-postCool. But now my post in my custom post type is
mysite.com/blog/custom-post-type-/my-postI have several custom post types and Im happy with their default:
mysite.com/custom-post-type-/my-postBut I do not want blog in my url:
mysite.com/blog/custom-post-type-/my-postHow can i edit ONLY the default wordpress post type structure url to only include the /blog/ prefix
If I can’t do that, then how can I edit all of my custom post types to not use the /blog/ that I placed in my permalink settings?
- The topic ‘custom url structure for posts’ is closed to new replies.