Switching to nginx and php-fpm, so LAMP becomes LEMP

About two and a half years ago i ordered a virtual server for private purposes at Server4you. That was quite a long time ago and in the meantime you can get the same server for less money or a better server for the same price As migrating from an old productline to a new one [...]

Migration finished

As I wrote in the last post i was thinking about migrating back to wordpress. The steps are almost done. I don’t use categories anymore and the few links i had were added manually after the db-migration. What’s still left to do is to look for a nice theme and install some nifty plugins.

Posted in: Uncategorized by Thorsten 1 Comment , ,

Thoughts about migrating (back) from Drupal to WordPress

Here’s something I found on this webpage related to a Drupal2Wordpress database migration:

prerequisites:

  • A fresh and clean installation of Wordpress
  • Drupal database name: drupal (no table-suffix)
  • Wordpress database name: wordpress (table-suffix ‘wp_’)

 

Fire up the mysql cli:

use wordpress

DELETE FROM wp_posts ;
DELETE FROM wp_comments 

 

Posted in: Uncategorized by Thorsten No Comments ,

WordPress with lighttpd

A few days ago I switched the webserver for schmalenegger.com from Apache2 to lighttpd. Here’s a short guide what needs to be done to get lighttpd running with Wordpress:

As I use Debian Etch, I decided to give to lighty packet from the Debian repositories a shot.

apt-get install lighttpd php5-cgi

After installation the webserver needs to be configured. This is done in the file /etc/lighttpd/lighttpd.conf.

Posted in: Uncategorized by Thorsten No Comments , ,

Duplicated searchresults when using EventCalendar3 in WordPress

If you use the Eventcalendar Plugin in Wordpress you may experience duplicated or even more searchresults if a blogpost is in more than one category. To get rid of this problem change the following in eventcalendar3.php:

function ‘ec3_filter_posts_where’ add the following to the first if statement

|| $wp_query->is_search

It should look like this afterwards:

if($wp_query->is_page || $wp_query->is_single || $wp_query->is_search )
Posted in: Uncategorized by Thorsten No Comments