WordPressの投稿IDの開始値を変更する
ブログをリニューアルしようと思って新しくWordPress環境を作りました。
既存の記事を後々インポートできるように、新環境の記事は大きめのIDからスタートさせます。
ALTER TABLE xx_posts AUTO_INCREMENT = 1000;
xx_にはwp-config.phpで設定したtable_prefixが入ります。
WordPress › Support » Start post id numbering with three-digits? http://wordpress.org/support/topic/start-post-id-numbering-with-three-digits