Yes I did, didn’t help but thanks anyway!
I fixed it by installing the dump environment plugin
http://wordpress.org/extend/plugins/dump_env/
This way I was able to evaluate all existing rewrite rules.
My custom rewrite rule was conflicting with an existing rewrite rule that WP generated for the custom post type by default.
I changed my rule
'kennel/ras/(.+)/(.+)/?$' => 'index.php?post_type=" . $dvd_post_type . "&artist=$matches[1]&genre=$matches[2]'
Now it works as it should!
The dump env plugin, this is going to save me some development time in the future 😉
Thanks!
Related Posts:
- Custom Post Type Permalink / Rewrite not working immediately
- How to remove /blog/ prefix for custom post types in permalinks?
- Using /%postname% for a custom post type
- WordPress Custom Post Type is Matching on Partial Slug
- Change slug of registered custom post type in child theme
- Templates for Custom Post Types and Custom Taxonomies
- WordPress search: pretty URLs (permalinks), custom post types and pagination
- Permalinks so that one custom post type appears to be a child of another, not working
- Create permalink structure for one taxonomy archive per custom post type
- How to achieve this permalink -> category-name/custom-post-type-name/post-name
- Custom permalinks
- Permalink for CPT with taxonomy
- Custom post type permalink changing itself every other change
- Add links to post categories and taxonomies in wysiwyg link modal?
- Prepend meta_value to permalink of post
- Custom Permalinks for Custom Post Types and Taxonomies
- Removing parent slug from URL on custom post type
- Maintaining WP_Query Relation Among CPT, Custom Taxonomy, Permalinks- CPT UI
- Custom post type category, taxonomy and URL rewrite problem
- Define permalinks for custom post type by taxonomy in WP 3.4
- Rewrite on custom post type permalink not working?
- Custom Post Type: How to display all of same taxonomy?
- Custom post type permalink missing /post_type/ front
- Remove POST_TYPE from custom post type permalink
- Remove “-2” from a Toolset Types URL with the same post name
- Custom permalink structure for custom post type
- Custom post types and permalink
- custom post type default permalink
- How to create a permalink structure with custom taxonomies and custom post types like base-name/parent-tax/child-tax/custom-post-type-name
- Share parent path between Custom Post Types and Pages?
- multiple url slug for single custom post type
- Custom post types, taxonomies, and permalinks
- How to specify URLS for custom posts & taxonomies
- Permalinks not working for custom taxonomy on custom post type
- Why does wordpress keep adding postname to my CPT’s permalink in the end?
- Custom Post Type permalink shows wrong page: homepage/index.php
- Get term name and term parent into custom post type permalink
- Rewrite rules for custom posts types
- Does WordPress consider a post name unique if that same post name is in multiple Post Types?
- Custom post type as home page with custom url
- URL rewrite add author as base
- Parent Page and Breadcrumb URL’s for Custom Post Types Not Working
- CPT’s with landing page instead of archive – Url Rewrite?
- Permalink structure with custom taxonomies and custom post type like /parent-tax/child-tax/custom-post-type-name (with no base name)
- Custom post type and taxonomy permalinks
- Hierarchical permalinks for custom post type and taxonomy
- How to organize hierarchical structure in custom post type with taxonomy (like with categories)
- Custom Post Type – Duplicate Page Slugs
- Remove permalink for custom post type
- Check post on publish for blank title
- Best way to specify “article type” in URL
- Custom Permalinks with meta value not working. Why?
- How to have permalink like domain.com/term/postname?
- Custom post type permalink returns 404 when set to private
- Custom post type slug 404
- How to filter a custom post type by custom taxonomy without 404
- how to retain the ability to modify the post slug after applying a post_type_link filter?
- Pagination of custom post type leads to 404 error
- Custom permalink structure for remote content pages
- WordPress Custom URLs
- Using page title as a link to term archive
- Adding an extra parameter [string] to my posts’ permalink?
- Custom Post Type nest under a normal WordPress Page
- Is it possible to have hierarchical taxonomy and hierarchical custom post types in one permalink?
- Pagination does not work on Custom Post Type archive while trying to get load more function working
- Permalinks not working (404) for the ‘item’ post type
- Wp PageNavi only works with default permalinks on a custom post type?
- Custom category URL not displaying posts
- Change permalink for custom post type?
- I want to rewrite the URL of a specific post with a specific custom field to easily analyze in Google Analytics
- How to mass get post editor URLs
- Error 404 change permalink term custom term taxonomy
- WordPress URL rewrites using Advanced Custom Field
- Preview url not working outside wp-admin
- Custom post type defaults to index.php for archive page
- How to merge 2 custom post type permalinks
- Adding categories to custom post type in permalink
- Change custom post type permalink according to category
- Pretty permalink structure with multiple (AND OR) taxonomies
- 404 custom post type
- Custom post URLs
- WordPress Permalink Custom Post type
- How can I add a “fake” parent into the permalink?
- Custom Post Type Archive Links Not Working
- Custom Post Type Categories Not Maintaining URL structure any more
- Add category slug as class attribute in a link array
- Get post id of permalink for a specific custom post type?
- URL Rewrite Adjustment for Custom Post Type causes template to revert to index.php
- Add taxonomy to custom post type archive
- Custom Post Type – Rewrite slug [duplicate]
- Custom Post Type Permalinks with %category%
- Custom post type – permalink
- Permalinks Works for Custompost type but not with pages Why?
- Custom role can’t create permalink
- Custom post types permalinks not working
- Rewrite rules for using the same base slug for multiple content types
- Problem with Custom Post Types, Taxonomy, permalink, Archive
- PHP Button Custom link [closed]
- Custom post type, when type non existing post name, it query the nearest possible post name by default. How can I disabled this behavior
- Custom post type split title, setup permalink accordingly