Title: Textpattern import: Wrong IDs
Last modified: August 18, 2016

---

# Textpattern import: Wrong IDs

 *  Resolved [apooo](https://wordpress.org/support/users/apooo/)
 * (@apooo)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/textpattern-import-wrong-ids/)
 * Hi,
 * can you tell me in which order the textpattern-importer imports the posts? Whenever
   I import my txps postings its IDs change. I already fixed auto_increment “holes”
   I produced by deleting articles, but also the order of some IDs change.

Viewing 1 replies (of 1 total)

 *  Thread Starter [apooo](https://wordpress.org/support/users/apooo/)
 * (@apooo)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/textpattern-import-wrong-ids/#post-362067)
 * Yeehaw, solved it on my own. I had to change the incoming order for the imported
   array in /wp-admin/import/textpattern.php.
 * Change line 122 (the end of this db import) to match
 *  FROM ‘.$prefix.’textpattern ORDER BY ID
 * now the ids are all correct 🙂

Viewing 1 replies (of 1 total)

The topic ‘Textpattern import: Wrong IDs’ is closed to new replies.

## Tags

 * [id](https://wordpress.org/support/topic-tag/id/)
 * [Import](https://wordpress.org/support/topic-tag/import/)
 * [TextPattern](https://wordpress.org/support/topic-tag/textpattern/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [apooo](https://wordpress.org/support/users/apooo/)
 * Last activity: [20 years, 2 months ago](https://wordpress.org/support/topic/textpattern-import-wrong-ids/#post-362067)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
