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 want to create most of the website structure based on the external API
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.
I want to change a URL and want to add a parameter to the last or first of that URL. For example I have URL like below
So I have a project I am currently working on, where I have a WordPress set to a permalink structure of /blog/%postname% for blog posts and pages are domain.com/page-slug/
My site runs on the latest version of WordPress. However, I have a problem with categories. Permalinks are set correctly and my category path looks like this: example.com/category-name
. Links work fine, but the problem is, I can also access every category with a link like this: example.com/example.com/?cat=6
, which contains no posts.
How to change taxonomy urls in wordpress? Following along with this question and this one But can not get the desired outcome. The default is:…