with_front=false is the key, but WordPress also seems to like to hard-cache the settings you originally register a CPT with. Try unregister_post_type() above the CPT registration so it’s completely removed and immediately added again from scratch with the with_front setting.
Related Posts:
- Where is the old post permalink slug stored?
- How to automatically generate a unique random slug
- Change permalinks for post type ‘post’ only
- Different permalink for posts and authors
- Keep getting same permalink with WP_Query?
- Must permalinks always point to single post pages?
- How to allow slashes in single posts when i click in the edit permalink button
- Some posts returning 404 instead of displaying post
- Link for the page archive for posts, like using custom post types with get_post_type_archive_link
- Random post permalink
- get_permalink executes link without https
- Permalink Settings: optional settings doesn’t apply to editor
- Create pretty permalink for a post knowing the permalink structure
- Changing my permalink structure – will new layout conflict with existing page?
- How to change the page break URL from ../post/2 to …/post/page2/
- Link post permalinks to subdirectory /post
- Remove permalink from images when inserting into post
- Remove the Edit button in posts for permalinks on certain user roles? WP 3.3
- Dynamically generate child-URLs for posts or custom posts
- Adding parent pages to posts
- Plain permalinks not working!
- Removing rel=”nofollow” from links posted in Post Content
- Using permalinks, category slugs, and tag slugs
- Move first half of posts to one parent page, second half to the other page
- How to check a post exist when the permalink has post id in it?
- How to do set post permalinks using 6 digit random unique function?
- Trying to use AngularJS with WordPress without any API
- How could I change my Permalink from blog to custom structure? [closed]
- Any way for get_next_post() to use the actual post order instead of publish order?
- how do i add posts-page slug before posts slug in permalinks
- Permalink doesn’t get displayed in Twitter button (Local WordPress problem?)
- Retrieve post ID from “querying” URL
- hiding permalink in admin if the user is subscriber
- When changing pages to posts, how do you set up 301 redirects for the page URLs?
- custom word in custom permalink structure
- Updating permalink structure using ‘post_link’ filter results in 404 error for posts
- Custom permalink for each post
- Unabled to Change Permalinks – Even Using the “Edit” (Resets to Original Permalink on “Update”)
- When WP_Query only returns 1 post, how do I automatically redirect to that post?
- Internal linking to posts permalink fail because of spaces and stripe at postname
- Link post images to post
- Problems with WordPress in subfolder, posts show a blank page
- how to create a sub section in posts
- Standalone form does not post to the url when form fields are populated (otherwise it does)
- Changing permalink of WordPress
- Rewriting blog permalinks
- Set Default Post as Parent Child (Nested) Relation
- How can I add random alphabets in wordpress permalink posts structure
- Permalink Short code showing unnecessary link text inside the loop
- My post permalinks are redirecting to the post archive page for some reason?
- How can I make a post sub link?
- How do you change the permalink for posts for a single category?
- How to set the post permalink using the WordPress REST API?
- Does having category name in permalinks affect SEO when having a post in multiple categories?
- unable to display two post per page in wordpress front-page.php
- How to 301 redirect from url with post id to permalink with post name (slug)?
- Prevent Archive URLs
- Custom Post Types and Broken Permalinks
- Custom permalink for wordpress page / post
- Permalink structure for two seperate blogs
- My post permalinks are always the same
- How to give priority to page than to posts permalink structure?
- Append a random string to a post permalink
- Precedence of page permalinks over woocommerce product category links?
- Post & Category Archives URL structure
- Fixing the WP Post Object for Custom Route
- All my posts don’t show, only the headline is displayed on the homepage
- How to change post template via url?
- Posts in Page – How to customize the URL?
- Is there a way to change the complete URL of the blog post for a redirecting tracking link?
- WordPress with static posts page and custom permalink structure doesn’t find posts with numeric permalinks
- Use a custom post URL that is outside the blog root directory
- Can’t seem to replicate permalink structure for localhost development site
- WordPress rewrite url help needed
- Permalink of some posts change
- My posts section for logged in user
- Change link to permalink inside post content
- Make assigning post to a specific category equivalent to assigning it to all categories
- How to mix pages and sub-categories in a url
- Changing permalink of custom category
- TCPDF and permalinks
- Overwrite URL on blog posts
- WordPress sub-posts and permalinks
- How to display subcategory articles in the category view?
- Change posts URL [duplicate]
- 301 Redirecting posts without %postid% (just %post_name%) in permalink to ones with %post_name%_%postid%
- How do I add /blog/ on my permalink without affecting the portfolio project types permalink?
- Permalink remain the same on each page
- How can we pass a value from the_permalink() at WordPress?
- Read more link not working [closed]
- Default post type doesn’t display in url
- Changes done in admin panel are taking time to reflect in the REST api responses
- How to change Permalinks only for Blogposts
- Permalink structure for two separate blogs
- Blog posts are not appearing as subs of Blog Page
- How to add paraent in Blog post URL in wordpress
- Change permalinks in posts via SQL
- Why can posts never have a number as the link?
- Permalink issue with new blog posts > getting 301 redirect
- Change the slug of post type using custom code