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
- Modify Post URL Programmatically
- Blog post not showing title
- How can I remove the first two words and shorten get_the_title()
- Custom Permalink Structure for Pages & Posts
- How do I include the category next to the title of a post?
- How to create a “latest news” page showing a list of posts from blog category
- Make insterted image point to post url instead of attachment page
- Post Filtering by GET URL parameters
- How to style archive post titles… but only those posts who have comments?
- Replace image name on upload to the new post name on front-end form
- Edit the post title from the frontend
- custom word in custom permalink structure
- Why in my query is display two title?
- How to give classname to post if post has no content?
- Image behind the post’s title
- register_post_type permalink
- Custom Articles page only showing a limited number of posts per page
- Updating permalink structure using ‘post_link’ filter results in 404 error for posts
- Change Post Title For Specific Category
- How to get the latest URL of my blog?
- Related Posts function not working
- Custom permalink for each post
- How to remove “» (title of post or page)”?
- How to get post with slug and exclude categories
- Auto update post title and slug when post status is changed
- Unabled to Change Permalinks – Even Using the “Edit” (Resets to Original Permalink on “Update”)
- get_posts not pulling the correct number of posts
- Get featured image on hover of post title [closed]
- Get x recent posts by author?
- Post/page title to permalink transformation – what is behind the scenes?
- Microformats in a single post – layout conflict
- When WP_Query only returns 1 post, how do I automatically redirect to that post?
- How do I display the post_title with get_permalink?
- If post does not exist, do something
- Inserting Media to WordPress Posts
- Custom Post Type, post-formats associated to custom post type > 404 archives
- List latest posts with least comments in WP-Admin
- If post exists, make it a comment in existing post with same name?
- Link post images to post
- Making posts permalinks consistent numbers
- Get posts from current category?
- How to link post titles on page A to its posts on page B?
- Problems with WordPress in subfolder, posts show a blank page
- how to create a sub section in posts
- Categories Listing and Highlighting current category item
- Standalone form does not post to the url when form fields are populated (otherwise it does)
- Changing permalink of WordPress
- Permalink structure and dedicated comment pages
- How to add content above footer in posts from specific category
- Rewriting blog permalinks
- Changing The Default Header POST Title and Description text by category in wordpress
- Change modified date to current date when title updated automatically
- Set Default Post as Parent Child (Nested) Relation
- How can I add random alphabets in wordpress permalink posts structure
- Change permalinks for posts & for custom post types
- How to prevent to create same url of post, if the previous was deleted?
- How to select a category automatically based on a word in WordPress post title?
- How to show multiple posts thumbnail, title and date in widget
- I need to create “View Profile” and “Edit Profile” links by incorporating the Post Title/ID, but can’t seem to manage it
- Show only posts with titles/permalinks that do not contain certain words
- Remove subcategory slug from url
- how to show current date on post title which should be auto update in every day
- Adding Text after Post Title based on Category using IF Condition – But not for menu items
- WordPress posts have a different URL to the index
- How to add first 3-4 post tags on WordPress Post Title
- get posts, run a custom query, and join the results
- Posting to WP via URL
- How to bulk Update URLs to new values?
- Please help a newbie with blog page issue?
- Every time I try accessing a post it redirects me to the feed
- My post permalinks are redirecting to the post archive page for some reason?
- Post title not displaying as recorded in the wp_posts table
- How do you change the permalink for posts for a single category?
- Private post caught in endless redirect loop
- How to mark only one post as Featured post?
- How to set the post permalink using the WordPress REST API?