:How to import your Dotclear database in WordPress:
Computer November 21st, 2006This post is more a memo to myself ; i lost a weekend to import my billets from Dotclear to WordPress while the entire process might takes 10 minutes ^_^
My config :
- Dotclear 2 Beta 3 (old) (therefore i dunno if it works with a previous version)
- WordPress 2.0.5 (new)
In Dotclear :
- In the admin tool, export your database ; you might obtain a default-backup.txt file.
- Open the file with Wordpad and check that the file starts by ///DOTCLEAR …..
If not, delete all characters before ///DOTCLEAR. Then save it.
It is done with Dotclear.
In WordPress :
Once WordPress is installed properly, DO NOT DELETE anything ; keep WordPress brand new (do not ask me how ; i followed a tuto ^_^ ).
- save flatimport.txt into your local hdd.
- rename flatimport.txt to flatimport.php then save it in wp-admin/import directory thru a FTP soft (such as CuteFTP, …)
- take the default-backup.txt file and rename it to blog-backup.txt and save it into /wp-content/uploads directory.
- in WordPress admin tool, click Import tab >> select Dotclear flat import >> click Import and Wait till the job is done.
You have done it !
For more details, check the author’s page in french.




29. 11. 2006 at 17.44
May be you can export more things if you use the export “all the content” function for dotclear 2 which create directly the blog-backup.txt file ; not the export blog function.
The last version of flatimport.php (version du 27 nov 2006 16.00) export posts, comments, tags, categories ; links, categories ; users.
Thanks for your info, seems a more detailed tutorial is needed.
A brand new WordPress is not really needed but it will help if something goes wrong, like orphans posts, comments …
20. 12. 2006 at 2.38
merci pour le complement d’info.
30. 4. 2007 at 3.03
Wanted to compliment on your site, it looks really good .
Hank
8. 9. 2007 at 23.47
This is my first post
just saying HI
4. 10. 2009 at 14.05
Thanks for this post. It really helped me! Cheers.