I’ve been searching for a couple of hours for a solution, but so far haven’t found anything. I updated my site’s permalink settings from ‘post name’ to ‘day and name’ and everything seems to be working fine except that the two most recent posts redirect back to the homepage and add the year to the url.

I’ve tried resetting the permalinks to default and changing back to ‘day and name’, but this doesn’t seem to work. If I insert index.php in front the custom permalink structure, the links will work, but I don’t want index.php to display in my URL.

I can’t seem to figure out why this would be an issue for only two posts out of hundreds. The only difference between these two posts and the others is that they are the two most recent.

Any help would be much appreciated, as I’ve been searching for a while and can’t seem to find a solution. Thanks!

Read more here: After changing permalink settings, everything works fine except for the two most recent posts


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: