It might be because you are using reserved term name as first argument; ‘categories’ is wordpress core taxonomy and you should use something else like ‘ph_categories’. After that you will have to add those terms again.
Reference: Codex
Related Posts:
- How to create a permalink structure with custom taxonomies and custom post types like base-name/parent-tax/child-tax/custom-post-type-name
- How to check if last uri segment is a custom post type or taxonomy term?
- Custom permalinks – post type – hierarchical taxonomy’s
- How to show term-specific post list, without posts associated with child terms?
- Getting taxonomy terms used by custom post type
- Custom Taxonomies: Multiple Hierarchical Permailnks For A Single Post + Prev/Next Links
- Hierarchical Custom Post Types or Similar
- How to create a permalink structure with custom taxonomies and custom post types like base-name/parent-tax/child-tax/custom-post-type-name
- Custom Posts Hierarchy? (State/City/Restaurant)
- Custom Post Type with two hierarchical Custom Taxonomies: strategy to generate best permalink structure
- Automatically populate a hierarchical taxonomy from a custom field
- Display custom post type in hierarchical order with get_terms
- Should I use custom taxonomy or custom post type
- Custom Post Type / Two level deep taxonomy (cat. and subcat.) uri problem (error 404)
- Hierarchical Custom Post Types in Array
- How to create custom url structure based on custom post type rewrite slug, taxonomy and category slug?
- Custom while loop for hierarchical display of a taxonomy
- Get the taxonomy of a post hierarchically
- Custom post type / taxonomy rewrite archive page 2 gives 404
- Create more category hierarchical depth for custom post type/taxonomy plugin (widget)
- Hierarchial Custom Post Types/Taxonomies
- Hierarchical permalinks for custom post type and taxonomy
- Custom post type Permalinks with hierarchical Taxonomies
- Create a permalink structure with custom taxonomies and custom post types gives 404
- Custom Post type & Taxonomy 404
- custom hierarchical taxonomy and custom post type list contains surplus posts
- Creating a non-hierarchical Taxonomy that behaves like categories
- Migrating Hierarchal Taxonomy Categories Between Post Types
- Ideas on how to organize a project [closed]
- How should I structure complex content hierarchies?
- List child categories from parent category on custom taxonomy page
- Custom taxonomy terms hierarchical navigation
- Create a Hierarchical List of Custom Taxonomies AND Posts
- Display a Custom Post Type within another with hierarchically slug
- Custom Post Hierarchy and users
- How can I add a “fake” parent into the permalink?
- taxonomy term names in custom post type permalink structure
- Custom taxonomy archive not showing posts of certain child taxonomies
- How to develop Knowledge center in WordPress Website
- How to build a complex page structure
- Remove admin menu for custom taxonomy attached to custom post type
- How do I list custom taxonomy terms without the links?
- Page not found taxonomy custom post type
- How to do a custom bookmarks post type?
- Count number of posts which exist in 2 taxonomies?
- associate custom post type with tags with specific pages
- How to customize admin posts based on the user who is logged in
- taxonomy template for custom post type the same as the archive
- Custom taxonomy template for multiple custom post types
- Custom Post Types for Support Ticket plugin?
- Add/Remove current_page_parent class
- Twenty Fifteen: Adjacent posts by menu_order [duplicate]
- Use different taxonomies in different custom post types’ permalinks?
- Get custom taxonomies from multiple posts
- How can I make a custom post type sticky?
- Help need making decision. Ads rotating site on wordpress
- Categories of custom taxonomy don’t show any posts
- Can a Custom Taxonomy be named “category” like normal Posts?
- How to use terms from the same custom taxonomy in different roles in a custom post type?
- How to have the same url structure for both a CPT and a Taxonomy?
- WP_Query inside foreach loop returning same value for all options when filtered using ajax
- limit value taxonomy based on previous taxonomy value wordpress
- Limit number of custom posts per taxonomy
- How can I get this request to use the Custom Post Type page template instead?
- Include custom taxonomy term in search
- custom post type and custom taxonomy
- Get custom post type categories to show up in menus
- Custom Type add Transitions
- How do I get the custom category URL from the custom post type?
- How to loop through custom taxonomies and sub taxonomies and display posts?
- Custom post type name and assigning custom taxonomy
- Building a Portfolio and need some direction
- Custom Post Type Custom Archive Page Not Working
- Enabling permalinks disables custom page template
- Query Custom Post Type by Taxonomy
- WordPress custom taxonomy page
- Related “custom post type” using “custom taxonomy”
- How to create Custom Taxonomy Search Drop Down for specific Post Type
- How do I disable the built-in editor and automatically configure the properties of new pages?
- How to have multiple search result pages in wordpress with taxonomy terms listed
- Set priority to permalinks
- How to list posts by terms
- CPT UI: Connect a custom post type to a custom post type
- List posts of custom post type under category name
- Custom post type and taxonomy same slug
- Single taxonomy for different custom post types
- Custom Post Type rewrite url to /category/pagetitle [duplicate]
- Custom Post Type Taxonomy – Permalinks generating, but posts not found
- Custom post type and custom taxonomies display
- predefined custom field on registration page
- Displaying taxonomy icon outside archive page
- Why won’t this rewrite rule work?
- How to not have the items of the subtaxonomy within the parent taxonomy
- Adding rewrite rules to Custom Post-type mixed with Taxonomy
- Tags and Taxonomy links not working for Custom Post Types
- Inserting two categories
- How to manage a bookstore
- How can i change url structure of cpt like this?
- Create a hierarchical list of posts that’s grouped and nested by category
- Show a wordpress custom post condtionally using a category term