Custom Post Type Pretty Structure
I’ve configure permastructure for posts to /blog/%postname%/, I’ve created a page with slug about-us and I used the code bellow to register team_member CPT and it is working. I think you had a extra “https://wordpress.stackexchange.com/” in the rewrite argument. Also, you don’t need to works with global $wp_rewrite; if you set the rewrite argument when … Read more