Sorry I didn’t follow up on this. You mentioned you weren’t using date archives. You can change the date archive structure to remove the conflict with /%postname%/
:
function wpa_change_date_structure(){
global $wp_rewrite;
$wp_rewrite->date_structure="date/%year%/%monthnum%/%day%";
}
add_action( 'init', 'wpa_change_date_structure' );
So now after permalinks are flushed, date archive URLs will be prefixed with date/
, so numeric postnames will no longer match the date rewrite rule.
Related Posts:
- How to Check if a Page Exists by URL?
- How to allow slashes in single posts when i click in the edit permalink button
- How Can i Get 5 Recent Post Title With Corresponding Link?
- Any way for get_next_post() to use the actual post order instead of publish order?
- Permalink doesn’t get displayed in Twitter button (Local WordPress problem?)
- Retrieve post ID from “querying” URL
- Post is blank when I click on the link
- Post titles and thumbnails as links to custom post types?
- Internal linking to posts permalink fail because of spaces and stripe at postname
- Can Permalink structure of %postname%/%post_id% improve performance
- Can I show category name in url for only one of my categories?
- How to merge the content of posts that have the same title?
- Permalink Short code showing unnecessary link text inside the loop
- How can I make a post sub link?
- 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
- Prevent Archive URLs
- Category URL to use same string as Post URL Permalink
- Post & Category Archives URL structure
- How to change post template via url?
- How to get all post titles starting with numbers and symbols?
- Default post type doesn’t display in url
- Blog posts are not appearing as subs of Blog Page
- How to add paraent in Blog post URL in wordpress
- How to change the case of all post titles to “Title Case”
- How to show related posts by category
- Access post from post id in URL
- Post slugs and images cannot have same name?
- Set Post Title to Read-only and Disable Permalink Slug Editor in Gutenberg
- Pretty URL with add_query_var
- get_permalink returns default link
- How do you get all the urls of images attached to a post?
- how to get permalink using sql
- Show the title of the latest post by author
- Post custom permalink results in 404 for archive page
- how to grab first link in post… and of course call it
- Custom post type single (permalink) throws a 404 error
- What Defines What Category A Post Picks (if in multiple)
- Custom post type permalinks breaking due to 3.1 bug fix
- get_post_field – Title without paragraph
- Add Category name to Post Title (h1)
- change default post archive page link
- Sorting posts alphabetical that have single digits
- Posts are not showing up on particular category
- get selected post using $_GET
- Blog Posts not showing title
- How to Orderby Comments by post title?
- Get posts by name and taxonomy term
- Inserting custom data to the_post() during loop
- Paginated Posts – Social Media Buttons Share First Page URL
- Get mixed category random posts
- get_the_content(“more…”) returns full text
- Assign category to new post via URL
- After database migration, posts not showing up in dashboard
- Switch to page template when using post permalink
- Post Loop Missing Most Recent Post
- How to handle broken links created by permalink/slug changes?
- Visting slug for ‘post’ post type shows 404 not archive?
- How to get posts from a current post’s month?
- Images inside post title
- WP move posts to different path
- How to show show the Second page title in the page
- Why posts array is empty?
- Blog post not showing title
- How can I remove the first two words and shorten get_the_title()
- How to create a “latest news” page showing a list of posts from blog category
- custom word in custom permalink structure
- Change Post Title For Specific Category
- How to remove “» (title of post or page)”?
- Microformats in a single post – layout conflict
- If post does not exist, do something
- Get posts from current category?
- Change modified date to current date when title updated automatically
- Change permalinks for posts & for custom post types
- WordPress posts have a different URL to the index
- How to mark only one post as Featured post?
- How to set the post permalink using the WordPress REST API?
- unable to display two post per page in wordpress front-page.php
- How to 301 redirect from url with post id to permalink with post name (slug)?
- Create/Set Category as Title of Post
- Please I want to prefix my WP posts title according to each category
- Custom Post Types and Broken Permalinks
- Permalink structure for two seperate blogs
- 2 Domains, Same Content, Different Titles?
- My post permalinks are always the same
- Multipage Post URL correction
- Fixing the WP Post Object for Custom Route
- Hide title in Merlin Theme on posts and pages only
- All my posts don’t show, only the headline is displayed on the homepage
- How to get the current user post and it’s ID?
- Is there a Standard Format for Clean URLs for Archives of Custom Posts?
- Retrieve latest post by multiple categories with ID
- External link not showing on post but showing on comment
- TCPDF and permalinks
- WordPress sub-posts and permalinks
- Is there a way to separate wordpress titles from their posts?
- get_posts includes “auto drafts”?
- How remove “recent comments” title without modifying code? [closed]
- How to change Permalinks only for Blogposts
- How to get permalink of post based on post name?