Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I get this link in my site map, but there's no post. http://thinkitcreative.com/blog/1970/01/

Assuming that something in there has been improperly date stamped, how do I find it?

share|improve this question
Have you looked through the posts table? – m0r7if3r Feb 5 '12 at 21:02
Yup. That was the first place I looked. Nothing there. I'd wondered if this was just some weird WP coding thing. – Patrick Feb 5 '12 at 22:59
It seems that the link is going to 404 page, which means that the link doesn't exist in the database. And also there is no post title in the link. Hope this will help. – Mahmudur Feb 5 '12 at 23:49
What are you using to generate your sitemap? Because 1970 JAN 01 is the unix epoch, so it's probably something being fed a bunch of 0's as a date that's doing it... – m0r7if3r Feb 6 '12 at 0:19

closed as too localized by Chris_O, toscho Jul 15 '12 at 23:06

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

1 Answer

The Unix epoch is the time 00:00:00 UTC on 1 January 1970, so you are most likely getting this date because the post doesn't exist.

You can take a look in the wp_posts table and see if the post_date field for any posts show up as 1970-01-01 00:00:00.

I suppose you could just open up the sitemap.xml file and remove the entry as well?

share|improve this answer
Thanks. I had a look the database and one of my early posts in 2008 is dated properly in the post_date field. But in the second column, post_date_gmt...there's that 1970 date. Rather than risk doing damage to the data based, I deleted the post. Many thanks for the replies. This is a really great resource! – Patrick Feb 11 '12 at 17:54
@Patrick You should select this as answer if this was resolved – Kyle Feb 12 '12 at 5:59

Not the answer you're looking for? Browse other questions tagged or ask your own question.