# Plugin para ajudar no mapeamento de threads pré-migração após a migração

**URL:** <https://meta.discourse.org/t/plugin-to-help-mapping-pre-migration-threads-after-migration/254497>\
**Category:** Development\
**Created:** [Fevereiro 8, 2023, 6:43pm UTC](https://meta.discourse.org/t/plugin-to-help-mapping-pre-migration-threads-after-migration/254497 "2023-02-08T18:43:34Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)\
**Post date:** [Fevereiro 8, 2023, 7:19pm UTC](https://meta.discourse.org/t/plugin-to-help-mapping-pre-migration-threads-after-migration/254497/2 "2023-02-08T19:19:19Z")

</div>

Isso já existe no core, chama-se Permalinks, e o importador VB4 existente tem código para isso

> <https://github.com/discourse/discourse/blob/main/script/import_scripts/vbulletin.rb#L375-L389>

Você deve inserir algo como `/showthread\\.php\\?(\\d*)/thread/\\1` na configuração permalink\_normalizations.

---

_[View the full topic](https://meta.discourse.org/t/plugin-to-help-mapping-pre-migration-threads-after-migration/254497)._
