Title: Using script to export comments bug
Last modified: August 21, 2016

---

# Using script to export comments bug

 *  [TuniLame](https://wordpress.org/support/users/tunilame/)
 * (@tunilame)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/using-script-to-export-comments-bug/)
 * Hello,
 * I’m using the export-comments.php script via command line to export my WordPress
   comments to Disqus. But after a successful export, I check on disqus.com and 
   I found all the comment that was just exported via that tool has a wrong URL:
   normally, I need to have something like that for the URL of each comment:
 * `http://<original-site-URL>/<date>/<post>/#<comment-id>`
 * But instead, I have this:
 * `http://disqus.com/<date>/<post>/#<comment-id>`
 * (note the `disqus.com` site URL)
 * How can I correct that?
 * Thank you.
 * [http://wordpress.org/plugins/disqus-comment-system/](http://wordpress.org/plugins/disqus-comment-system/)

The topic ‘Using script to export comments bug’ is closed to new replies.

 * ![](https://ps.w.org/disqus-comment-system/assets/icon.svg?rev=1636350)
 * [Disqus Comment System](https://wordpress.org/plugins/disqus-comment-system/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/disqus-comment-system/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/disqus-comment-system/)
 * [Active Topics](https://wordpress.org/support/plugin/disqus-comment-system/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/disqus-comment-system/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/disqus-comment-system/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [TuniLame](https://wordpress.org/support/users/tunilame/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/using-script-to-export-comments-bug/)
 * Status: not resolved