I’ve been building a website using WordPress for the couple of weeks on my localhost. My plan was to export it when I’m done and then import it onto the live server.
Today I found out a couple of things:
-
WordPress’ Export tool only exports what’s in the database, nothing else. It doesn’t export images, etc. This could be easily remedied by simply copy pasting the files, but I was hoping for a complete solution where a tool will export EVERYTHING into a single zip file and then import than zip file onto live server to basically create an identical clone.
-
The paths that is created within the XML file generated by the Export tool uses absolute paths, and this is especially troublesome. Example:
http://localhost/wordpress/wp-content/uploads/2011/07/GSI-70-Automated-OAE-Screener.jpg
I haven’t tested it, but I imagine that when I import this XML onto my live server WordPress will look for a file at http://localhost/… and that’s just not gonna work of course. It would work if the paths are relative paths.
What do you guys think? Any suggestions? Ideas? Solutions?
Thanks a lot!