Apr 15
In my last post I talked about the migration I made. I’ve made this migration to upgrade my previous installation of wordpress from 2.05 to 2.5: new features were really attracting.
I wanted also fix some minor problems as the url of my blog which was on www.sauvee/com/wp02 to www.sauvee.com/blog.
The problem I face’d was the links inside the post which were not migrated correctly as the full Url is used and was not updated during import. Maybe I made a mistake somewhere…maybe not, anyway it did not worked for me. I though a simple find & replace in the xml file to import would be enough to fix my blog url renaming.
The answer is “no” : the permalinks have to match. So if you do the same migration, do not forget to use the same permalinks.
Second point I wanted to redirect all access to my pevious blog to be redirected to the new blog. The solution I used was to use .htaccess file in my previous blog directory wp02. This works only if you are using an Apache web server.
Apr 07

I’ve finally upgraded my blog container Wordpress from 2.05 to 2.5.
The first difficulty is to transfer data from former blog. I used phpAdmin plugin for this…it just work fine!
…euh not really: all links to images or other media were broken (still referencing the previous blog).
Wordpress is so massively used that I bet I have certainly not be the only one with this problem. I googlelized on this and found absolutely nothing. Every articles were presenting the export/import as a feature working as a charm. Yes, it is simple & quick, but the end result not good. Am I the only one encounter this?
To solve this I had to:
- I simply delete all my posts,
- edit my exported xml file to do a find & replace on the urls to point to the new blog
- copy the content/uploads folder in my new blog
Notice the default upload path of the new wordpress 2.5 installation was “content” and not “content/uploads”. Check this also!
At this stage I have restored all my posts and images and href are pointing correctly yo the new blog.
Wah’t remains: blogroll and pages like “About” page. For those; I will do it manually (few blogroll and only one page).
I think I will keep the former blog for a while till I check everything works fine.