Combine multiple CPT names to create valid permalinks
I have three different Custom Post Types:
I have three different Custom Post Types:
If exist the page parameter in the blog post, I have to redirect to the 404 page instead of current post URL.
I tried to check the current page type (is singular) and try to get page parameter in the function.php, but I couldn’t. It’s doesn’t work together. I need to implement it only for blog post.
If possible .htaccess redirect also fine
A wordpress website with bilingual setup, with three languages:
How can I add a custom rewrite rule so I can catch paths like these:
I think maybe my understanding about rewrites and templates for custom taxonomies and CPTs is wrong and maybe someone here could help me solve my problem and educate me.
The scenario is as follows:
A multisite install with three sites:
I’m trying to figure out the following :
I typically call the rewrite rules with this action
Setup a rule:
I’m trying to change the url structure of my custom post type posts, but It’s not working correctly right now.