views:

32

answers:

2

I've encountered a problem when moving a Wordpress installation from a Linux Apache server to a Windows IIS server. Nearly all pages load blank, including /wp-admin/. I created a php file in the main directory to check phpinfo, and it loads fine.

I've copied the file system over, as well as the database. I've also updated the wp-config.php with the correct credentials.

I think it has something to do with .htaccess, but I'm not sure how to correct it. Any help would be greatly appreciated.

+1  A: 

.htaccess is not used on Windows IIS servers.

http://learn.iis.net/page.aspx/557/translate-htaccess-content-to-iis-webconfig/

ghoppe
You can also directly import your .htaccess file as URL Rewrite rules in IIS using IIS Manager.
Eric Petroelje
Yes, however how does Wordpress normally operate on IIS then? Or doesn't it?
Dave Hunt
+1  A: 

Sounds like you have a permalink problem, compounded by the fact that permalinks operate differently on IIS than Linux. See: Using Permalinks « WordPress Codex

Try resetting permalinks to default in Dashbord/Settings/Permalinks, if you can get into Admin. If not, you need to go into the database with phpmyadminand manually clear the permalink field in wp_options, usually around option 34.

Update: And, did you change domains? Or just hosting? See this, too: Moving WordPress « WordPress Codex

songdogtech
Changed both Domains and Hosting, I'm going to try this and report back if I have any success
Dave Hunt
It didn't fix it, however it seems to be something in the database it doesn't like. I tried pointing the filesystem to a different database, with freshly installed data, and it worked without any problems.
Dave Hunt
See this too: http://codex.wordpress.org/Moving_WordPress
songdogtech