Title: XML import doesn&#8217;t keep author
Last modified: August 19, 2016

---

# XML import doesn’t keep author

 *  [lauraburgin](https://wordpress.org/support/users/lauraburgin/)
 * (@lauraburgin)
 * [17 years ago](https://wordpress.org/support/topic/xml-import-doesnt-keep-author/)
 * I need to import content from blogger to wordpress. If I import it directly, 
   the HTML formatting gets lost. So I import it into a wordpress.com blog, export
   it as XML and import it into my new wordpress blog. This saves the formatting
   and images.
 * BUT, I would like to keep the authors from the blogger account and that doesn’t
   work if I import as XML.
 * Anybody has a solution for this?
 * Thanks!!

Viewing 1 replies (of 1 total)

 *  [psimatrix](https://wordpress.org/support/users/psimatrix/)
 * (@psimatrix)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/xml-import-doesnt-keep-author/#post-1097393)
 * This issue may be moot now as it’s been so long but we had the same problem. 
   The solution was to edit the /wp-admin/import/rss.php script at line 94 with 
   the Id of the author from the wp_users table.
    Example: `$post_author = 94;`

Viewing 1 replies (of 1 total)

The topic ‘XML import doesn’t keep author’ is closed to new replies.

## Tags

 * [author](https://wordpress.org/support/topic-tag/author/)
 * [Import](https://wordpress.org/support/topic-tag/import/)
 * [xml](https://wordpress.org/support/topic-tag/xml/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [psimatrix](https://wordpress.org/support/users/psimatrix/)
 * Last activity: [16 years, 1 month ago](https://wordpress.org/support/topic/xml-import-doesnt-keep-author/#post-1097393)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
