| bio | website | michal.gancarski.com |
|---|---|---|
| location | Krakow, Poland | |
| age | ||
| visits | member for | 2 years, 1 month |
| seen | May 8 at 13:31 | |
| stats | profile views | 9 |
I am a web consultant and entrepreneur. You can find my portfolio here:
Feel free to add me to your Goole+ circles:
|
May 8 |
awarded | Scholar |
|
May 8 |
accepted | Post preview gives 404 when permalinks are purely date based |
|
May 7 |
answered | Post preview gives 404 when permalinks are purely date based |
|
May 7 |
comment |
Post preview gives 404 when permalinks are purely date based We make sure they are not. But I agree, this must be the reason Worpdress treats these pages like archives, not single post pages. |
|
May 6 |
comment |
Post preview gives 404 when permalinks are purely date based When you set permalink structure to /%year%%monthnum%%day%/, this is whay you could get for a post - /20120201/ . Unfortunately, Wordpress treats it as a daily page as well, so the conflict is caused by the permalink structure. |
|
May 6 |
comment |
Post preview gives 404 when permalinks are purely date based OK, I have isolated a condition for this issue. It comes up only when previewing posts that are scheduled for future publication and are not drafts anymore. Drafts or posts already published do not cause this issue. Also, I have switched my theme to TwentyTwelve and it clearly shows that when I navigate to a post page (for example domain.com/20120201), it treats it as a date (daily) archive page. Could you check if it is the case with your WP installation? Thanks! |
|
May 6 |
comment |
Post preview gives 404 when permalinks are purely date based Thank you, I will try to dig deeper. Do you have a separate template file for single posts (single.php) in your theme? |
|
May 6 |
awarded | Student |
|
May 6 |
asked | Post preview gives 404 when permalinks are purely date based |
|
Sep 26 |
comment |
Show last 2 image attachments from posts I was going to downvote this question but instead I will just suggest looking here: php.net/manual/en/ref.array.php Hint: you have an array of results. You want to obtain last two members of the array. |
|
Sep 26 |
awarded | Critic |
|
Aug 23 |
awarded | Supporter |
|
Aug 15 |
awarded | Teacher |
|
Aug 10 |
answered | Paypal buttons disappear in the text editor |