Rewrites/query for multiple hierarchical custom post types
Rewrites/query for multiple hierarchical custom post types
Rewrites/query for multiple hierarchical custom post types
try this : // constructing URL $url = add_query_arg([“submission” => “success”]); // redirection wp_redirect($url); exit();
Versioned Custom Post Type (Not the same as revisions)
Rewrite query string to path
Custom Post Type and Category Base Rewrite Issue
UPDATE 1: I haven’t find a solution yet (other than using Polylang Pro). But I must add that my original question was partially wrong, since the rewrite option is for the single page url, not the archive one. Custom post type archive has its own slug and it’s the has_archive option (can be boolean or … Read more
Rewrite custom post type url – Multiple post types
Just found the answer if anyone else needs it. The line I had the browse rewrite on in .htaccess just had [L] at the end, you need to change it to [QSA,L] (Query String Append)
CPT does’t have much options for building custom permalinks. What you need can’t be done without custom coding and creating new rewrite rules, and handling permalink parsing. I have plugin for working with post types and taxonomies, and it includes options for custom permalinks and more. It is not a free plugin, but in many … Read more
Remove slug in URL custom post type