Title: Lost backslashes ( \ ) on import
Last modified: August 30, 2016

---

# Lost backslashes ( \ ) on import

 *  [mcbsys](https://wordpress.org/support/users/mcbsys/)
 * (@mcbsys)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/lost-backslashes-on-import/)
 * I used the export/import process to merge two blogs into one about a month ago.
   I just discovered that backslashes are missing in the imported posts. Double-
   backslash becomes single and single is removed. So a Windows path like
 * `\\SERVER\Share\File.txt`
 * appears as
 * `\SERVERShareFile.txt`
 * I found a 3-year-old [StackExchange article](http://wordpress.stackexchange.com/questions/50505/why-do-i-lose-all-the-slashes-i-e-in-my-blogs-when-i-import-xml-files)
   that offers this explanation: “The importer calls wp_insert_post() which runs
   stripslashes_deep() on the data. But the exporter doesn’t run addslashes. Looks
   like a bug to me.” There are some suggested workarounds.
 * Can anyone confirm that backslashes are dropped on import? Or has that bug been
   addressed somehow?
 * [https://wordpress.org/plugins/wordpress-importer/](https://wordpress.org/plugins/wordpress-importer/)

The topic ‘Lost backslashes ( \ ) on import’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-importer/assets/icon.svg?rev=2791650)
 * [WordPress Importer](https://wordpress.org/plugins/wordpress-importer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-importer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-importer/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-importer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-importer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-importer/reviews/)

## Tags

 * [backslash](https://wordpress.org/support/topic-tag/backslash/)
 * [data-loss](https://wordpress.org/support/topic-tag/data-loss/)

 * 0 replies
 * 1 participant
 * Last reply from: [mcbsys](https://wordpress.org/support/users/mcbsys/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/lost-backslashes-on-import/)
 * Status: not resolved