# Troubles moving from XenForo to Discourse

**URL:** <https://meta.discourse.org/t/troubles-moving-from-xenforo-to-discourse/266060>\
**Category:** Migration\
**Created:** [April 8, 2020, 5:25am UTC](https://meta.discourse.org/t/troubles-moving-from-xenforo-to-discourse/266060 "2020-04-08T05:25:58Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![007](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/007/32/175794_2.png) [@007](https://meta.discourse.org/u/007)\
**Post date:** [April 14, 2020, 5:07am UTC](https://meta.discourse.org/t/troubles-moving-from-xenforo-to-discourse/266060/5 "2020-04-14T05:07:42Z")

</div>

I’ve looked through this script and can’t seem to find what is causing the IDs throughout to increment from 1 vs just match exactly what is in the source database.

I’d like to forward existing urls and the best way to do that is going to be if IDs throughout are maintained. User IDs, Post IDs, Topic IDs, Category IDs, etc.

They are all being “mapped” to new IDs by the script.

Am I missing something obvious that would allow me to force all IDs to stay the same post import?

If this question is beyond the scope of this forum, I understand. Thanks for reading regardless! 👍

---

_[View the full topic](https://meta.discourse.org/t/troubles-moving-from-xenforo-to-discourse/266060)._
