Linked Questions

1 vote
1 answer
3k views

Custom post type Permalinks with hierarchical Taxonomies

I Would use Custom Post Type and hierarchical Taxonomies with same Slug. Fortunately I found a good solution based on post_type_link filter here from TheDeadMedic. mysite.com/products/category1/...
3 votes
2 answers
3k views

Custom post type permalink structure with the category also acting as an archive

I've looked around quite a bit and haven't found anything exactly what I am looking for, so I figured I'd post here. This post and answer is very very close, but I'm having trouble adapting it to what ...
64 votes
4 answers
74k views

How to create a permalink structure with custom taxonomies and custom post types like base-name/parent-tax/child-tax/custom-post-type-name

I've been combing this site and google for the answer and I've come up completely empty. Basically I want to do exactly what this post asks, but I need a hierarchical taxonomy. The answer given in ...
1 vote
1 answer
6k views

Add %taxonomy% in custom permalink structure

By default WordPress supports %category% tag in custom permalink structure. I need to use %taxonomy in the structure. How to do that? Is there any filter available?
2 votes
0 answers
2k views

Custom Post Type and Custom Taxonomy Permalinks

I'm currently working with a client's Wordpress blog that has a permalink structure set in the admin settings as "/speaks/%postname%/". This is so that all actual blog posts (post_type=>posts) have ...
0 votes
1 answer
443 views

Customizing URL slugs of Custom Post Type and Taxonomy make posts/pages 404

This problem has been for bugging me for days and I feel that I am close! Creating a review website, I have custom post type called review, organized in a custom hierarchical taxonomy niche. Put ...
1 vote
1 answer
970 views

Custom Post Types, URL rewrite on multiple CPTs

Re: Custom post types, taxonomies, and permalinks by @TheDeadMechanic The solution above works perfectly, and rewrite is great, but can you advise on how to rewrite for more than one custom post type ...
0 votes
0 answers
82 views

Making permalink for custom post type/custom taxonomy. Stuck with 404 in the single post

I have looked around noth in StackOverflow and WP.SE. Like many before me, I just want this structure mysite.com/custom-post-type/custom-taxonomy-term/post-name Or, in other words, mysite.com/...
0 votes
2 answers
50 views

Organising custom taxonomies and custom post types

I'm really struggling to organise a site that will hold quite a lot of content. This example is reduced, but contains the crux of my problem. The site features several clubs. Games club Juggling ...
0 votes
0 answers
223 views

CPT url rewriting : regular posts return 404 error

I have a WP website where a created a CPT named product, which has several custom fields, including a category field. This "category" is a custom taxonomy that can take several values, let's say : ...
1 vote
1 answer
281 views

How to change custom post type pemalink Hierarcy

When we set permalink as Post name and go to wordpress any default post Like "Testing 123" single page its link looks like this localhost/foo_articles/testing-123 Now i when we change our permalink ...
2 votes
1 answer
642 views

taxonomy/category term in URL slug irrelevant for post?

so I've got a nice hierarchical system working involving custom post types and taxonomies. (see Custom post types, taxonomies, and permalinks for reference) So if I have a post with mysite.com/...
0 votes
1 answer
535 views

Custom Post Type View Button in Admin Gives 400 Error

I have a custom post type, Project: /******************************* Projects Custom Post Type *******************************/ add_action( 'init', 'register_cpt_project' ); function ...
2 votes
0 answers
55 views

Custom Permalinks for Custom Taxonomies/Post Types -> Top Level Pages not working [duplicate]

I have created a custom post type called "artists". These are categorized by the custom taxonomy "style". I do have this: ./photography/edward-example (single page with details) ./...
1 vote
4 answers
944 views

Taxonomies in URL

I have a custom post type and two custom taxonomies associated with it. One is locations and the other is activities. How can I form the permalinks in the following format? http://mysite.com/usa/...

15 30 50 per page