Prepend custom post types?

[ad_1]

Is there a simple way to prepend the url of custom post types?

I want the custom post types to look like they are in a particular subdirectory.

[example.com/custom\_post]) to

[example.com/\*creative\*/custom\_post])

[ad_2]
1 Comment
  1. When registering your post type, you can specify the slug. Just include something like: `’rewrite’ => array( ‘slug’ => ‘creative/custom_post’ ),`

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer