Title: Import function not working when changing dat file
Last modified: January 27, 2017

---

# Import function not working when changing dat file

 *  [tomstary](https://wordpress.org/support/users/tomstary/)
 * (@tomstary)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/import-function-not-working-when-changing-dat-file/)
 * At beginning I was not able to import succesfully any exported dat file.
 * One day later import works as intended. Was it bad luck yesterday?
 * But if I make any modification in exported “.dat” file via Notepad++, I get error
   during import:
    “Error uploading settings! Please check that you uploaded a customizer
   export file!”
 * I need to change one part of existing url(in images paths and links) in all section
   and items inside customizer and I do not want to write it manually.
 * Export / Import function seems to be good way to find/replace it in one step…
 * Any Ideas how can I edit a dat file without damaging it?
 * Thanks
 * Tomas

Viewing 1 replies (of 1 total)

 *  Plugin Author [Justin Busa](https://wordpress.org/support/users/justinbusa/)
 * (@justinbusa)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/import-function-not-working-when-changing-dat-file/#post-8716853)
 * Hi [@tomstary](https://wordpress.org/support/users/tomstary/),
 * Unfortunately, you can’t modify the .dat file as that breaks the serialized PHP
   arrays.
 * Justin

Viewing 1 replies (of 1 total)

The topic ‘Import function not working when changing dat file’ is closed to new 
replies.

 * ![](https://ps.w.org/customizer-export-import/assets/icon-256x256.jpg?rev=1049984)
 * [Customizer Export/Import](https://wordpress.org/plugins/customizer-export-import/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/customizer-export-import/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/customizer-export-import/)
 * [Active Topics](https://wordpress.org/support/plugin/customizer-export-import/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/customizer-export-import/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/customizer-export-import/reviews/)

## Tags

 * [Import](https://wordpress.org/support/topic-tag/import/)

 * 1 reply
 * 2 participants
 * Last reply from: [Justin Busa](https://wordpress.org/support/users/justinbusa/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/import-function-not-working-when-changing-dat-file/#post-8716853)
 * Status: not resolved