Linked Questions

0
votes
1answer
991 views

Can variables be used to rewrite a Custom Post Type permalink? [duplicate]

Is it possible to use a variable to rewrite a Custom Post Type permalink FROM wp_terms -> slug? WPDB: wp_terms -> slug = healthy-living A1) Current Custom Post Type args: 'rewrite' => array( '...
0
votes
1answer
2k views

Custom Post Type rewrite url to /category/pagetitle [duplicate]

I know this questions has been asked a lot, but after working on it for 6 hours straight I can not find a good solutions anywhere. My site has a Custom Post Type and taxonomy. My taxonomy are for ...
0
votes
1answer
47 views

How to change URL structure for custom post type in wordpress? Custom taxonomy + custom Post name [duplicate]

I want to change the url structure for custom post type post type --> movies This url structure sitename.com/movies/post-name need to change sitename.com/custom-taxonomy/movies/post-name /%...
1
vote
0answers
32 views

Removing taxonomy slug from URL but keeping post type [duplicate]

As the title says, I want to remove the taxonomy slug from URL. Instead, I want to keep the post type slug. For example: I have a post type called "Books" (rewrite_slug = books) and a taxonomy called "...
0
votes
3answers
2k views

URL rewrite and navigation structure for wordpress custom post type

I have created the following custom post types: Artists Albums Songs Songs are children of Albums, Albums are children of Artists. I am trying to set up a navigation structure that shows this ...
2
votes
2answers
808 views

Add the .html extension to custom post types

I already have found a working solution for my question, but the problem is that it neutralizes another function that adds the category base into the custom post type permalinks, and I need boths, so ...
1
vote
1answer
3k views

Wordpress returns 404 on custom rewrite rule conflict in parameters

I have been following the steps on the answer here and it worked wonders. But my problem is on this part, on the original: add_filter('rewrite_rules_array', 'mmp_rewrite_rules'); function ...
0
votes
1answer
4k views

Change the url of Projects in Divi Theme

I use the Divi Theme for a Wordpress website. At the moment, everything in Projects Custom Post, have the same url in the following format: www.mywebsite.com/projects/project-name What I tried to do ...
3
votes
2answers
2k views

Make permalinks based on an ACF-field

This is both a question on 'how to do this', as well as 'should I do this'. I have the ACF-heavy site, where I would like to make the permalinks based on one of the ACF-fields (let's call it foo). ...
1
vote
1answer
2k views

Custom taxonomy & post slug permalink

I have a custom taxonomy and a custom post type. I'm aiming for the following permalink structure: {custom taxonomy}/{custom taxonomy term}/{custom post slug} Or, at the very least, {custom ...
0
votes
0answers
2k views

How do I rewrite the slug for a custom post type with the category base url

I have a custom post type products and I have a custom taxonomy 'product_Range`. I would like the url structure to be as follows: www.mysite.com/products/ www.mysite.com/products/%category% www....
0
votes
0answers
1k views

Adding rewrite rules to Custom Post-type mixed with Taxonomy

I turn to you because I can not find any solution to my problem. I created 3 custom post types "Actualités", "Dossiers", "Vidéos" (I'm french :D) I created 1 taxonomy: "Thématiques" with the ...
0
votes
2answers
876 views

Change Category Base For Custom Post Type or Posts Page

I have a few questions and I don't think the outcome I want is possible without adding a custom taxonomy and redoing a bunch of work. I have registered a custom post type - gallery - with taxonomies ...
1
vote
0answers
794 views

Path to custom post type

What I want to do and what I got is: one custom post types ('cpt') x categories (i.e. 'topics'). Now I want the url path to be like http://domain.com/page-x/page-y/%topics%/cpt. What I got is stated ...
0
votes
1answer
409 views

Wordpress modify Settings > Permalinks (options-permalink.php) Add CPT Permalink Options

How do I modify the Settings > Permalinks (options-permalink.php) admin page to add more custom permalink parameters? I'd like to add additional permalink parameters to the "Optional" section for ...

15 30 50 per page