In general page URL are “last resort” match when nothing else fully matches the URL. This means that you can have something like example.com/category/cat1
be a URL of a category and example.com/category/cat1/page1
be a URL of a page. For the last to work you obviously need a grandpa page with slug “category” and a father page with slug “cat1”.
It is not actually surprising when you understand that there have to be hierarchy of URL parsing that will at least resolve which rule “wins” when 2 rules match the URL, but usually it is a sign of bad URL design, or at least I haven’t seen yet anyone that uses it in real life as the results are confusing.
Related Posts:
- How to Check if a Page Exists by URL?
- Use category base slug in posts’ permalink
- How to control which category will be picked for the slug of a post?
- Post in Multiple Categories to stay in current category (permalink, next previous post link)
- Can I hide a specific post from latest posts page?
- What Defines What Category A Post Picks (if in multiple)
- Permalink Settings: optional settings doesn’t apply to editor
- How to show post(excerpt) from specific category on wp page?
- Changing my permalink structure – will new layout conflict with existing page?
- Can I divide the pages into categories?
- Should I use posts or pages in this scenario?
- Using permalinks, category slugs, and tag slugs
- post categories
- Post categories to pages
- Switch to page template when using post permalink
- How to handle broken links created by permalink/slug changes?
- When changing pages to posts, how do you set up 301 redirects for the page URLs?
- Custom Permalink Structure for Pages & Posts
- How to create a “latest news” page showing a list of posts from blog category
- Having pages after specifying post_type post
- Unabled to Change Permalinks – Even Using the “Edit” (Resets to Original Permalink on “Update”)
- Post/page title to permalink transformation – what is behind the scenes?
- Are post, page and category IDs unique to each other?
- posts going to 2 pages/categories only show up in 1
- How to link post titles on page A to its posts on page B?
- How can I add a page that shows posts from a single category?
- Categories Listing and Highlighting current category item
- Different post views for different category views
- Changing permalink of WordPress
- Rewriting blog permalinks
- Remove subcategory slug from url
- Can I show category name in url for only one of my categories?
- Automatic duplicate/copy of post to a related page in WordPress
- Yoast breadcrumb URL shows category instead of the page
- Please help a newbie with blog page issue?
- How do you change the permalink for posts for a single category?
- Does having category name in permalinks affect SEO when having a post in multiple categories?
- How to add a ‘News’ section to specific posts in WordPress
- How to 301 redirect from url with post id to permalink with post name (slug)?
- How to distinguish pages created by woocommerce?
- How to add a block to a category page?
- Page with Category Returning 1
- Custom permalink for wordpress page / post
- Category URL to use same string as Post URL Permalink
- Post Category link is same with Page link
- How do I make it so that new posts within a certain category go into a certain page?
- Permalink base only for posts
- How to give priority to page than to posts permalink structure?
- Point users to a specific url directory for some posts
- Show only top 3 posts from 3 categories in order on home page
- Posts in Page – How to customize the URL?
- One of my posts is displayed as page
- Make assigning post to a specific category equivalent to assigning it to all categories
- How to mix pages and sub-categories in a url
- Displaying only posts from a certain category on my custom page template
- I need to create a page or post hierarchy
- How to display subcategory articles in the category view?
- how to style an individual page in a category [duplicate]
- CSS – Change height of Storefront / WooCommerce product categories, but not products
- wordpress category Description not allowed tag
- Blog posts are not appearing as subs of Blog Page
- How can I fixe the article title problem?
- 301 (static page instead latest posts)
- Post page to display specific category
- Get Posts Under Custom Taxonomy
- Integrate OpenStreetMap on WordPress
- Get attachments for posts that belongs to a specific category
- Prevent additional top level categories but allow more children
- Need help with category listing!
- What’s the best way to render Visual Composer in posts, not pages?
- Trying to use AngularJS with WordPress without any API
- category permalinks
- Prepending %category% onto default posts fails
- List all categories with featured image from post?
- Get Page ID of blog homepage
- How could I change my Permalink from blog to custom structure? [closed]
- Visting slug for ‘post’ post type shows 404 not archive?
- Categories list into registration form
- WP_Query: Mixing category__in and tag__in together
- Static posts page with home.php
- Any way for get_next_post() to use the actual post order instead of publish order?
- Second comments section for one post/page
- If in_category not working for multiple single.php pages
- How can I setup a relationship using categories in WordPress?
- how do i add posts-page slug before posts slug in permalinks
- WordPress Multisite – Create Default Post and New Category On New Site Install
- how to show single post in a custom template
- Using ajax on editing a category edit page?
- Related posts by category not working right
- How to list recent posts in a wp nav menu?
- Set Default Category to Username
- Disable sticky option for specific categories
- Dynamic dependent Dropdown lists for categories, sub-categories and posts
- How can I hide tags on a child-category page, if that tag has not been used?
- date issue with category post retrival
- Listing Specific Categories from Current Post with Depth
- How to make multiple sections in home pulling posts category wise?
- Permalink doesn’t get displayed in Twitter button (Local WordPress problem?)
- How can you change the permalink for pages?
- 404 error on default post type and default taxonomy fronted page