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?
- Get current menu_order
- How to add category to: ‘wp-admin/post-new.php’?
- Setting Custom Sort Order of Posts within a Category
- How to show list of posts by author and category?
- Change slug with custom field
- get_post_type_archive_link(‘post’) returns current category archive
- Conditional that checks if a current category has any subcategory with posts
- Single post as homepage?
- Articles are text-only in any “Category” instead of HTML
- How to change permalink on post click on post listing page
- Get current category id from post page wordpress
- How can I pass the ID of a post to a page template by clicking a url?
- Adding buttons to Add New Post and Add New Page
- Stop users posting into category while still seeing contents of the category
- After database migration, posts not showing up in dashboard
- Static posts page with home.php
- How can you change the permalink for pages?
- How to dynamically parse and transform post/page content before displaying it?
- How to display two random-post sections that are each under their own category
- Change Post Title For Specific Category
- I don’t want the complete article to show on homepage
- How to create a playlist for audio associated with posts per category
- Display Parent Category of a Post belonging only to Subcategory
- Prevent duplicate pages from being added
- Can I style single post that are in multiple catergories?
- Show single post child category from a determined parent
- Go back to the exact post page number
- Remove status ‘archived’ from the default post and page view
- Parent menu item does not display posts when I add the sub-items
- Custom Post Types and Broken Permalinks
- I lost the link to my posts in my menu bar
- Allow registering user to select post category when signing up to blog
- Is there a way to change the complete URL of the blog post for a redirecting tracking link?
- WordPress with static posts page and custom permalink structure doesn’t find posts with numeric permalinks
- My posts section for logged in user
- Make a custom URL and link to custom Template
- Permalink remain the same on each page
- wordpress show category link instead of post link [closed]