WordPress.org

Forums

Messed up timestamps? (6 posts)

  1. alexpelangmailcom
    Member
    Posted 10 years ago #

    I recently installed blogger and did a blogger import. All my entries are in there fine, however there are some weird problems that have come up. First off, the dates on all of the entries are wrong. Only one of the sidebar links works, and that is for June 2005, but all it brings me to is a directory. All the other links in the sidebar are not only inconsistent with the real dates, but also inconsistent with the dates that are currently there that are wrong. Also, two "new months" have been added, called a and o or something like that. What happened here, and how do I fix it?

    blog url is http://blog.alexpelan.com

  2. skippy
    Member
    Posted 10 years ago #

    It looks like your permalinks aren't working correctly. The date-based archive links in your sidebar all yield 404 errors. Clicking the title of any post also yields a 404 error.

    Review Using Permalinks for the specifics of getting these to work. If you still have trouble after that, let us know.

  3. alexpelangmailcom
    Member
    Posted 10 years ago #

    My permalinks are set up for http://alexpelan.com/blog/%year%/%monthnum%/%postname%/

    Let's look at that first entry on the page. The permalink is:
    http://alexpelan.com/blog/2011/09/sunday(etc.)

    It's actually stored at
    http://alexpelan.com/blog/2004/12/sunday(etc.)

    This is where the permalink would point if the date was right, so I feel almost as if the permalink problems are caused by these date problems.

    Another thing I've just thought of...for the %postname% it seems that wordpress uses a different style of naming entries (without hyphens)...could this be causing a permalink problem? Should I edit the timestamps manually, hoping the permalinks will fix themselves, or change the permalinks to postid? It seems like there is an easy fix to this, but if I have to, I'll manually change the details for 150 or so posts (I REALLY don't want to do this, for obvious reasons.) Help would be appreciated.-Alex Pelan

  4. alexpelangmailcom
    Member
    Posted 10 years ago #

    Here's some more info, as I'm still having this problem:

    The timestamp on my posts is in this format:
    8/31/2004 07:20:11 PM

    That seems to be mm/dd/yyyy h:m:s AM/PM, just as the script called for. Why did it grab this date wrong?

    The output for this and about half of my entries is this date:

    1969-12-31
    3:59:59 pm

    Please help.-Alex Pelan

  5. skippy
    Member
    Posted 10 years ago #

    I don't know that there's any help we can provide. If possible, maybe dump your database, and try to re-import from blogger?

    Else manually adjust dates on your posts.

  6. Michael Adams (mdawaffe)
    Member
    Posted 10 years ago #

    As I recall (this was a long time ago), when I imported from blogger, it created a bunch of directories (2004/12/...) which needed to be deleted before permalinks worked correctly. The blog information is stored in your database, so the information in those directories is redundant (or should be if the import script worked), but having real directories that have the same name as your permalinks makes things break.

    As for your timestamps, when you say you set your timestamps a particular way, do you mean in your Blogger template or in your WordPress settings? It should be set in your Blogger template.

Topic Closed

This topic has been closed to new replies.

About this Topic