Linked Questions

0 votes
1 answer
4k 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 ...
Jeff 's user avatar
  • 161
0 votes
1 answer
1k 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( '...
Tai Sem's user avatar
  • 81
0 votes
1 answer
87 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 /%...
selva's user avatar
  • 1
1 vote
0 answers
39 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 "...
user80414's user avatar
4 votes
2 answers
6k 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). ...
Zeth's user avatar
  • 898
2 votes
2 answers
2k 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 ...
Yuri's user avatar
  • 1,121
1 vote
3 answers
3k 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 ...
nelson's user avatar
  • 97
0 votes
1 answer
8k 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 ...
Tasos's user avatar
  • 169
2 votes
1 answer
5k 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 ...
reikyoushin's user avatar
1 vote
1 answer
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 ...
Atticus's user avatar
  • 381
0 votes
2 answers
2k 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 ...
Devyn's user avatar
  • 101
1 vote
0 answers
2k 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 ...
new Android's user avatar
0 votes
0 answers
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 ...
Ryad Karar's user avatar
1 vote
1 answer
536 views

Custom taxonomy in URL showing 404

Using a custom post type with custom taxonomy I'm after a custom url structure of /post-type/custom-taxonomy/article-name. I've searched and read up on Permalinks: custom post type -> custom ...
kevngibsn's user avatar
0 votes
1 answer
452 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 ...
corey's user avatar
  • 1

15 30 50 per page