# 导入Disqus后，我网站上的链接出现故障

**URL:** <https://meta.discourse.org/t/links-are-broken-on-my-site-after-disqus-import/46861>\
**Category:** Product Support\
**Created:** [2016 年7 月 5 日 18:19 UTC](https://meta.discourse.org/t/links-are-broken-on-my-site-after-disqus-import/46861 "2016-07-05T18:19:13Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

作者： ![brunoedigital](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/brunoedigital/32/119692_2.png) [@brunoedigital](https://meta.discourse.org/u/brunoedigital)\
发布日期： [2016 年8 月 2 日 18:30 UTC](https://meta.discourse.org/t/links-are-broken-on-my-site-after-disqus-import/46861/7 "2016-08-02T18:30:32Z")

</div>

In case someone goes through this — we found the solution:

The thing is that when importing Discourse doesn’t “recognize” the links… So it doesn’t track them properly creating this problem.

We had to run a simple command on terminal to make it work. Something along the lines of:

`Post.all.find_each{|e| TopicLink.extract_from e}`

HTH!

---

_[View the full topic](https://meta.discourse.org/t/links-are-broken-on-my-site-after-disqus-import/46861)._
