Rewrite Options For Pods Custom Post Types and Taxonomies

Please provide a Pod name

MIGRATE: This needs to be Documentation, not a Tutorial

Pods provides several URL rewrite options that allow you to customize the URLs for items in your custom post types and custom taxonomies in order to fit your needs. In this tutorial, I will go over the various options and what changes they result in. All of these options are available in the “Advanced Options” tab of the Pods editor.

Custom Post Types

Rewrite options in Pods editor for custom post type.
Rewrite options in Pods editor for custom post type.

If you disable the “Rewrite” option, no matter what your WordPress permalink settings are, the permalink structure for your custom post type will be in the form of “”. So, for example, if you had a Pod called “foo”, with a post, that had the slug “bar” the url would be “”.  This configuration may be useful to you if you want to make use of the PHP get method. When pretty permalinks are enabled, as is usually the case, you will want to keep the option “Rewrite” enabled, in order to mimic the permalink structure of posts and pages. A typical “pretty permalinks” setup for WordPress posts will take the form of “”. With “Rewrite” enabled, and “rewrite with front” enabled, your custom post type’s url will be in the form of “”. So, for example, if you had a Pod called “foo”, with a post, that had the slug “bar” the url would be “”. Alternatively, if you disable “rewrite with front” you will get “” which is probably what you wanted. You do not have to have the Pod name as the first segment of the URL. You can customize what that segment is using the “Custom Rewrite Slug” field. If you were to enter “fighter” in that field, your URL would become “”. There are also options for “Rewrite With Page Numbers,” which adds page numbers for paged posts and “Rewrite Feeds,” which enables the rewrite options in your RSS feeds. Note: “Rewrite With Page Numbers” was known as “Rewrite Feeds” prior to Pods 3.0.


Rewrite options in Pods editor for custom taxonomy.

Custom taxonomies have three rewrite options that function the same way as they do for custom post types. These options are “Rewrite,” “Custom Rewrite Slug” and “Allow Front Prepend.” Custom taxonomies have one option that custom post types do not have called “Hierarchical Permalinks.” “Hierarchical Permalinks” match the structure of a hierarchical taxonomy. If you have a term in your taxonomy called “foo” with the child term “bar” and select this option the url for the term bar, will be “”. If not selected the url for bar will be “”. This option has no effect on non-hierarchical  taxonomies.  

Skip to toolbar