As I mentioned in my comment, the date rewrite rule is picking up your post permalink and trying to load a year archive instead of your single post. Since it appears you don’t use date URLs on your site, you can change the date structure so it no longer clashes. Add this to your theme’s functions.php
file, then visit the Settings > Permalinks
page in Admin to flush the rewrite rules:
function wpa82820_date_structure(){
global $wp_rewrite;
$wp_rewrite->date_structure="date/%year%/%monthnum%/%day%";
}
add_action( 'init', 'wpa82820_date_structure' );
This changes date URLs from /2013/01/23/
to /date/2013/01/23/
so they no longer clash with 4 digit single post permalinks.
Related Posts:
- Custom post type single (permalink) throws a 404 error
- Post type gives 404 unless logged in
- Where is the old post permalink slug stored?
- How to Check if a Page Exists by URL?
- Use category base slug in posts’ permalink
- How to automatically generate a unique random slug
- Custom permalink structure only for default posts
- Post slugs and images cannot have same name?
- Change permalinks for post type ‘post’ only
- Change the Slug of Post Type post to baseurl/post/%postname%
- Different permalink for posts and authors
- Pretty URL with add_query_var
- get_permalink returns default link
- Group Posts by First Letter of Title
- Keep getting same permalink with WP_Query?
- How to control which category will be picked for the slug of a post?
- how to get permalink using sql
- Change slug with custom field
- Why can posts never have a number as the link?
- Must permalinks always point to single post pages?
- 404 error after publishing a post
- How to allow slashes in single posts when i click in the edit permalink button
- Post custom permalink results in 404 for archive page
- Link for the page archive for posts, like using custom post types with get_post_type_archive_link
- Post in Multiple Categories to stay in current category (permalink, next previous post link)
- Unable to modify(update) posts – Page not found
- Random post permalink
- What Defines What Category A Post Picks (if in multiple)
- Debugging WP routing
- get_permalink executes link without https
- Permalink Settings: optional settings doesn’t apply to editor
- Custom post type permalinks breaking due to 3.1 bug fix
- How can a guest view the “Pending Review” Post?
- Create pretty permalink for a post knowing the permalink structure
- Changing my permalink structure – will new layout conflict with existing page?
- How to change the page break URL from ../post/2 to …/post/page2/
- Link post permalinks to subdirectory /post
- change default post archive page link
- PHP Notice error (when on 404 page)
- Remove permalink from images when inserting into post
- Remove the Edit button in posts for permalinks on certain user roles? WP 3.3
- Getting a 404 error when clicking edit page
- Dynamically generate child-URLs for posts or custom posts
- Bulk update post slugs through database
- Adding parent pages to posts
- Plain permalinks not working!
- Removing rel=”nofollow” from links posted in Post Content
- How to change permalink on post click on post listing page
- Changing Permalinks for Default Post type to reflect navigation
- How should I add links to other pages/posts from my post?
- WordPress not opening posts with only numbers if permalink is post_name
- Using permalinks, category slugs, and tag slugs
- 404 on paginated blog pages
- Problem with permalink routing?
- Move first half of posts to one parent page, second half to the other page
- How to check a post exist when the permalink has post id in it?
- How to display content from the main blog on another from multisite network as it would be its own
- After database migration, posts not showing up in dashboard
- How to do set post permalinks using 6 digit random unique function?
- Switch to page template when using post permalink
- Trying to use AngularJS with WordPress without any API
- How to handle broken links created by permalink/slug changes?
- Why does my site often display 404 on subpages?
- How could I change my Permalink from blog to custom structure? [closed]
- Visting slug for ‘post’ post type shows 404 not archive?
- Any way for get_next_post() to use the actual post order instead of publish order?
- how do i add posts-page slug before posts slug in permalinks
- custom post template file not shown, instead all the time 404.php
- One post on my website is going to a 404 page
- How do I locate the exact location where this error is occurring 404 page not found
- Permalink doesn’t get displayed in Twitter button (Local WordPress problem?)
- 404 error on default post type and default taxonomy fronted page
- Retrieve post ID from “querying” URL
- hiding permalink in admin if the user is subscriber
- Why does WP_Post not contain its permalink?
- the_permalink() not working in a root installation
- When changing pages to posts, how do you set up 301 redirects for the page URLs?
- Problems with Page Not Found
- Second get_permalink inside loop points to wrong URL
- Custom Permalink Structure for Pages & Posts
- custom word in custom permalink structure
- register_post_type permalink
- Updating permalink structure using ‘post_link’ filter results in 404 error for posts
- Post is blank when I click on the link
- Posts and Pages: 404 Page not found
- Custom permalink for each 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?
- When WP_Query only returns 1 post, how do I automatically redirect to that post?
- Post titles and thumbnails as links to custom post types?
- If post does not exist, do something
- Internal linking to posts permalink fail because of spaces and stripe at postname
- Link post images to post
- Making posts permalinks consistent numbers
- Can Permalink structure of %postname%/%post_id% improve performance
- 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
- Prevent 404 of Author pages without posts
- Categories Listing and Highlighting current category item