Hey there,
just want to share some technical infos, just in case you like to migrate your Pixelpost blog to WordPress like I did.
First thing is, that you probably don’t want to loose your posts, comments, categorys and the photos. Fortunately there is an addon available for Pixelpost.This addon creates a file which can be imported in WordPress thru the Tools->Import function, besides the posts, comments and categorys, it reads out all the photos and you can import all of them in WordPress too with just one click. You can download the addon at this link.
If you have changed your domain, it’s useful to have some code to redirect requests from the old web to the new adress. This should be done by a file called .htaccess, which must reside in your pixelpost directory. Here are a few examples how you can redirect links to old posts, to your old RSS and the index page:
1. Redirect to single posts
Assumption: you want to have links to posts on your old Blog redirected to the corresponding new posts, so if someone clicks on an old link, he will be redirected to the new web.
Assuming the link to a photo/post in your old Pixelpost installation is
http://www.yourolddomain.com/pixelpost/index.php?showimage=1122
And the Link to the same post (after importing) on your new WordPress blog is
http://www.yournewdomain.com/wordpress/2011/01/01/prettyphoto/
In this case the permanent rewrite-condition in your .htaccess file must be aware of the “?” in the old link, so the redirect needs a special treatment. The statement in .htaccess must look like this:
RewriteCond %{QUERY_STRING} ^showimage=1122$ RewriteRule ^index.php$ http://www.yournewdomain.com/wordpress/2011/01/01/prettyphoto/? [R=301,L]
With this rule, you can redirect every single link to the corresponding post on the new website. So there are no problems with links to special postings of the old blog on other websites, the post and the photo will be displayed on the new web even someone clicks the old link.
2. RSS Feed redirect
If you havn’t already switched your RSS-Feed to feedburner (f.ex.), it’s useful to redirect the old feed too.
Assumption:
The links to the RSS-Feeds in your old Pixelpost installation are
http://www.yourolddomain.com/pixelpost/index.php?feed=rss
http://www.yourolddomain.com/pixelpost/index.php?feed=rss2
http://www.yourolddomain.com/pixelpost/index.php?feed=atom
The link to the new feed on your WordPress installation is
http://www.yournewdomain.com/wordpress/feed/
The correct redirect statement in .htaccess looks like this:
RewriteCond %{QUERY_STRING} ^feed=rss$ RewriteRule ^index.php$ http://www.yournewdomain.com/wordpress/feed/? [R=301,L] RewriteCond %{QUERY_STRING} ^feed=rss2$ RewriteRule ^index.php$ http://www.yournewdomain.com/wordpress/feed/? [R=301,L] RewriteCond %{QUERY_STRING} ^feed=atom$ RewriteRule ^index.php$ http://www.yournewdomain.com/wordpress/feed/? [R=301,L]
3. Redirecting the index.php
As the last rule in your .htaccess file, you can redirect all requests from the old site to the new. This should be the last directive, because the .htaccess will be read top down, so if you want to redirect only assorted, single posts (like in 1.), you can redirect to the sites index as a last ressort if none of the single rules match.
RewriteRule ^.*$ http://www.yournewdomain.com/wordpress/? [L,R=301]
Maybe these informations could be useful if you planning to migrate :)
Wow, I wish I had known about this before :(, I’ve since deleted my pixelpost folders and database.
Great info, thanks! Suppose I’ll have to switch to WP too, and this is definitely going to be useful.
The new theme looks great. Been thinking about such a change for a while…