Moving a WordPress site from GoDaddy to Dreamhost.

I had the pleasure of moving a client website from GoDaddy to Dreamhost. I wont get into the reasons why the site was moved but Did have a few problems getting the WordPress site working again.

I would get an error much like this “No input file”

After confirming that everything was configured correctly I took a look at the .htaccess file and saw these two lines at the top.

AddHandler application/x-httpd-php5 .php
AddHandler application/x-httpd-php .php4

That is something that Godaddys servers placed in the files to allow them to run both PHP4 and PHP5.

Delete them, save the .htaccess file and everything should work perfectly.

Signup for my mailing list

Receive other rambings like this on design, code, and some times food.