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
版权声明:本文标题:sql - Reset post IDs with all post meta 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745457064a2659151.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论