admin管理员组

文章数量:1429760

I imported posts from an old website. Posts from the new website have IDs under 100. Posts from the old website have IDs above 9934.

I tried to change manually the post IDs in phpmyadmin in order to follow the "small" IDs from my new website (101, 102, 103...). The problem is that I lost all the post_meta related to the old posts (Thats' normal because I didn't change the Ids for the post_meta). Because I can't change manually all post meta related IDs (Many custom fields), I am looking for a solution to "reset" all my post IDs.

I don't mind to reset all my posts, even the ones I created in the new website. The posts have to keep their post_meta.

What do you suggest to do that ?

本文标签: sqlReset post IDs with all post meta