OK, so you’ve used /
as you taxonomy slug. It means that URL for your term is:
http://example.com/my-sample-taxonomy-term/
And for pages it will be:
http://example.com/my-sample-page/
As you can see, there is no way to guess, what type of post should WP search for.
WordPress processes the URLs looping through registered Rewrite Rules and matching given URL against regular expression assigned to current rule.
That means that in your case WP will take first rule that will match correctly and try to display that type of object. And because there are two different objects registering rules that are in conflict, then you’ll get 404 errors for some of them.
Related Posts:
- custom taxonomy and pages rewrite slug conflict gives 404
- Remove taxonomy base or term from url
- Best pratice to make taxonomy terms translatable without changing slugs?
- Removing taxonomy base using WP rewrite
- Custom taxonomy on permalink
- Custom taxonomies, with custom rewrites/slug, AND loading a taxonomy archive template from a plugin
- URL rewrite rules for multiple taxonomies query
- Rewrite rule for custom taxonomy
- Nice URLs for a Custom Post Type List with a Shared Custom Taxonomy?
- How do I rewrite a url to use %taxonomy% instead of %category% when multiple taxonomies are present?
- Pros and cons of using [taxonomy name] in place of [category name]?
- WP redirects pretty permalink to query string
- Removing the base “Author” or changing it to something else. is it possible?
- Permalinks for quote authors
- Sorting Posts Via Custom Taxonomy Values Using Checkboxes?
- Add parent/child taxonomy to custom post type url
- WPML Translating a term/taxonomy programmatically
- Keep taxonomy base name in post permalinks
- Permalinks for custom taxonomy stopped to work
- Taxonomy with_front causes all
- 404 error- issues with pages after adding custom rules for posts
- How to overwrite registered taxonomy url from vendor plugin in child theme
- How Can I Change a Taxonomy URL Based On The Originating URL?
- How to add a Rewrite Rule / Category Structure
- Rewrite URL for taxonomy listing
- Custom permalinks with hierarchical taxonomy – getting PHP warning
- Change the permalink URL to include a taxonomy term
- Rewrite Rule Working for all but one of the taxonomies created
- How to Rewrite Taxonomy URL to Include the Post Type as the Second Segment of the URL?
- Taxonomy Pagination Rewrite
- woocommerce custom product category template
- Add Taxonomy Subcategory To Permalink
- how to change permalinks format for pagination?
- Custom Taxonomy and Rewrite URL
- How do I create a permalink structure with 2 taxonomies
- Rewrite Rules returning wrong data
- Pagination on Custom Tax Pages Removes Spaces from Query Vars
- How to rename custom taxonomy URL with extra words
- Custom URLs in Custom Search Results
- How to change url for taxonomy pages?
- Query custom taxonomy by term id?
- Custom Taxonomy specific to a Custom Post type – rewrite URL
- Permalink Problems
- How to add hierarchical taxonomy with parent child relation to URL?
- Clean Custom URL for Serach + Custom Taxonomy
- Custom rewrite permalink doesn’t work
- forward/redirect taxonomy archive of term to a page with same name
- URL rewriting taxonomy term
- How can i fix a 404 error when targeting custom taxonomy slug ?
- Permalink issues with custom taxonomies
- WPML taxonomies not translated
- Taxonomy URL rewrite whilst keeping filtered posts?
- Rewrite Search URL Permalink For CPT Custom Taxonomies
- How can I rewrite the URL of my custom taxonomy to include the year?
- How to change Custom Permalink for Taxonomy? (remove the slashes from term-slug)
- How do I get the correct URL?
- How to structure all custom-taxonomy with three verbs(a,b,c) and route them accordingly?
- Rewriting url for multiple Taxonomies and Custom Post Type
- Custom rewrite url structure for several custom taxonomy (NOT pos_type)
- Remove taxonomy name and add .html extension in the custom taxonomy term URL
- How to paginate with an query var appended to permalink?
- Hierarchical taxonomies in permalink cause 404 for sub term archive
- Permalinks incorrectly inserting multiple categories
- Permalink structure not working with Custom Taxonomy (URL like ./taxonomy/category/postname)
- add_rewrite_rule using custom taxonomy and year
- Need help understanding a rewrite with multi-level taxonomy
- Taxonomy to WordPress Permalinks of custom post type
- Multiple Taxonomy in URL/Query – No Custom Post Type
- Creating a page for custom taxonomy archive
- Custom Taxonomy Archive URL rewrite
- Later change of taxonomy slug base not changing permalink
- Rewrite URL for a specific taxonomy [duplicate]
- Is there a way to ‘Lock’ a Taxonomy?
- wp_insert_term is adding a term that has no name
- Get total number of comments from posts in a specific custom taxonomy
- Connect Users and Taxonomies
- WordPress json api taxonomy index method
- Change in custom taxonomy permalink causes 404 error for another custom taxonomy
- Checking if a Page has an Associated Term?
- Displaying ACF image field [closed]
- Taxonomy.php issue with search and filters
- Custom Taxonomy URL are redirecting to page with the same name
- Sort order by slug for looped child terms of custom taxonomy
- Simple Filter between multiple taxonomys
- Headers already sent warning in Admin source is media.php 3140
- Geographic search with taxonomy structure [duplicate]
- SQL / wp_update_post: change post custom field to CPT post taxonomy
- List one post only from each subcategory using get_posts?
- Search custom taxonomy via query-string?
- problem : Custom taxonomy template not showing
- WordPress not saving tags for custom taxonomy term description
- How to Implement Custom Taxonomy Conditional Page?
- Customise Permalink Structure For Custom Post Types
- Display multiple taxonomies in a function
- Remove Custom metabox from particular page template is used
- Add and Custom category for posts “PAGE”
- WordPress Main Menu with dynamic url
- wp_insert_post and custom taxonomy
- How to query authors by custom taxonomy?
- Custom Fields link to other pages, not search