May
24
I have successfully installed WordPress MU on my Windows Server 2003 running IIS 6. To be honest, I know that WPMU is not full compatible with IIS right out of the box. It relies heavily on apaches mod_rewrite, which IIS isn’t capable of. The only IIS fix for permalinks I’ve seen have either been via a special filter named ISAPI_Rewrite.
ISAPI_Rewrite is Apache mod_rewrite compatible URL rewriter for Microsoft IIS server. It is compatible with Apache mod_rewrite making it possible to move configurations from Apache to IIS and vice versa just by copying .htaccess files. I have tested with WordPress 2.x or WordPress MU 1.3.x, it’s work. This is also works in IIS Mod-Rewrite Pro, but IIS Mod-Rewrite Pro have no free version.
To enable Clean Permalinks on WordPress MU on IIS, follow these steps:
- Install PHP and MySQL following the vendor’s instructions.
- Install ISAPI_Rewrite.
- Install WordPress according to the vendor’s instructions.
- Open with a text editor the file wp-settings.php, located in WordPress root directory. Add the code line
$_SERVER['REQUEST_URI'] = $_SERVER['HTTP_X_ORIGINAL_URL'];
- Log on to WordPress as administrator, go to admin panel, open the “Permalinks” settings page, and set the permalink structure of your choice. Apply your changes.
- WordPress is supposed to automatically create a file with name “.htaccess” in its root directory. Open with a text editor the file .htaccess, copy it and paste into httpd.conf in ISAPI_Rewrite directory.
Now we have a WordPress MU with clean permalinks on Windows Server 2003 running IIS 6.
is this a recommended solution? i am looking to optimise my site for SEO, and dont want to be left out in the cold. however, i am half way through developing the site, and dont really want to migrate to a linux server unless i have to. please advise further
thanks!
Hey, I was looking around for a while searching for vendor security and I happened upon this site and your post regarding WordPress MU On IIS With Url Rewrite – Moonlight Blog, I will definitely this to my vendor security bookmarks!
my server is same, i want to integrate wordpressmu on my site.can you help me with installation.