redirect post id to post full url
redirect post id to post full url
redirect post id to post full url
Rewrite CPT permalinks and include WPML language
Alright after some more intensive research and A LOT of errors i got a fix which seems legit. First of all i keep the rewrite rule in my custom post-type but did change the name: ‘rewrite’ => array( ‘slug’ => ‘/%designer%/’, ), Then i need to point the %designer% to the correct field (which was … Read more
How do I change the custom taxonomy slug to be the same as the custom post type slug?
custom rewrite rule help! Custom rewrite rules not applying to custom post type
You can try this plugin, I think this will work for you. You can directly change the URL on your page by clicking on URL to whatever you want. Hope this would be helpfull.
If anyone still has this issue (this post is quite old), I found a very helpful snippet in this blog post: https://www.grzegorowski.com/wordpress-rewrite-rules /** * Reprioritise pagination over displaying custom post type content */ add_action(‘init’, function() { add_rewrite_rule(‘(.?.+?)/page/?([0-9]{1,})/?$’, ‘index.php?pagename=$matches[1]&paged=$matches[2]’, ‘top’); }); This will ensure WP uses the pagination rule prior to the post type query rules
Custom post URL 404 error
What you have is the correct code. Just replace it in register taxonomy function (you may find mention function in functions.php) at a ‘rewrite’: true with your code.
Rewriting “pretty” blog category URL with htaccess / add_rewrite_rule() causes 404 page