Linked Questions

4 votes
2 answers
11k views

How to modify URL structures in custom post types and taxonomies or terms

I am well aware that there are several posts covering the topic of customizing the permalink URL structure of custom post types, custom taxonomies, and taxonomy terms. However, none of them are real ...
Michael Ecklund's user avatar
9 votes
3 answers
7k views

WordPress Rewrite Rules for Custom Post Type and Taxonomy

I have found this place to be a good source of information in the past through a lot of Googling for the problems I have run into. My question pertains to the verbose rewrite rules WordPress uses. I ...
matt_d_rat's user avatar
2 votes
1 answer
5k views

Permalinks for custom post-types within custom taxonomies not found

I have tried to apply the advice offered by TheDeadMedic in this post to achieve the following URL structure: example.com/activities = a WP page example.com/activities/type-term = a custom archive ...
nigedo's user avatar
  • 23
0 votes
1 answer
2k views

I can't access custom taxonomy page listing

I had an issue with a custom taxonomy and a custom post type using the same URL. My URL I am using for my post type is /news and then I have a taxonomy which I need to have /news/cars I followed ...
asaunders's user avatar
  • 251
2 votes
1 answer
2k views

Define permalinks for custom post type by taxonomy in WP 3.4

I want to create canonical permalinks for products and product types. I have the custom post types and custom taxonomy figured out, but I don't know if its possible to define permalinks with ...
rgdigi's user avatar
  • 178
0 votes
1 answer
1k views

Custom category URL not displaying posts

I have a custom post type with custom categories using the following: add_action( 'init', 'create_post_type' ); function create_post_type() { register_post_type( 'products', array( ...
Rob's user avatar
  • 1,406
0 votes
1 answer
546 views

How to use taxonomy term as permalink folder

I've searched around and haven't found a way to do this yet. I'm trying to create a custom post type that will display a permalink structure that uses the term of a taxonomy as the folder name. Here'...
Milo's user avatar
  • 111
0 votes
1 answer
399 views

Custom Post Type and Taxonomy Rewrite Error

The following code is adapted from Jan Fabry's answer. Mixing custom post type and taxonomy rewrite structures? <?php add_filter('post_type_link', 'client_area_permalink', 10, 4); function ...
Evan Yeung's user avatar
  • 3,472
0 votes
0 answers
309 views

Dynamically populate permalinks

I'm using a fairly standard permalink structure in wordpress e.g. example.com/custom-name/post-title However, I wish to prepend the 'custom-post-type' with a location name from my database. So the ...
The Sumo's user avatar
  • 374
0 votes
1 answer
197 views

Custom Post Type Rewrite Throws Headers Sent Errors

I used Mixing custom post type and taxonomy rewrite structures? and http://wordpress.org/support/topic/set-category-to-a-custom-post-type-automatically?replies=10 to create my custom post type. But I ...
Evan Yeung's user avatar
  • 3,472
0 votes
1 answer
80 views

How to fix 404 on post after prepending Custom Post Type url with Custom Taxonomy Term slug

I'm setting up "special" url structure for posts etc Result i want to get is: sitename.com/club/justcavali club is term from taxonomy (club_type) and justcavali is post type (booking_type) after i ...
Dzodzos's user avatar