Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi, Sorry I didn’t check this site lately. You know what? Actually my “solution” brought me more problems.

    What I did was good for the posts, but the categories, tags, and messages got all messed up. They all point to the new ID and when I restored the old ID… you get the picture?

    I only have 112 posts so I’m fixing every one by hand.

    If you want to have more mess than you already have, let me know and I’ll give you some help.

    Actually I fixed that: You need to use phpmyadmin or any other way to run a query on your database.

    In the table wp_posts you find these fields: “ID” and “guid”

    “ID” have the post’s id number and “guid” have the whole URL. The field “ID” was changed after the import but the field “guid” remains with the old data.

    EXAMPLE
    In your old database: ID=”58″ and guid=”https://www.yoursite.com/?p=58″

    but in the new database: ID=”66″ and guid=”https://www.yoursite.com/?p=58″ (Yes, it’s still 58)

    So run a query to chop that part of “guid” where the old number is and replace “ID” with that number.

    If there’s somebody who don’t know how to do it, post a reply and I will post the query I used.

    Good Luck

Viewing 2 replies - 1 through 2 (of 2 total)