I have an issue pertaining specifically to the situation in which permalinks are set to be based only on publication date. My permalink structure is as follows:
/%year%%monthnum%%day%/
When I try to preview a post, I get 404. The issue does not come up when I add other URL tags to the structure, like post ID or post name.
I have already tried to diagnose the issue and one thing that came up was that WordPress may be treating URLs consisting only of date tags as date archive pages. Indeed, is_date() returns TRUE when a post page is displayed.
Is there a way around it that does not involve changing permalink structure? Thanks for help.
I will sum up my findings for future use by others:
@Milo, @t3los, thanks for your input.