If you are going to setup wordpress blog in windows IIS environment server supporting php, this will be the crucial article for you to read. First of all, you can setup php wordpress blog in windows hosting that also supporting php 4 or php 5 with mysql database. The problem that you will face is that the permalink and url redirection/redirect will not work. And windows php will not support .htaccess redirection file as well. Windows IIS will kick yout permalink to asp error page. So how to solve this?
Option 1, you can try getting a url redirect plugin for your iis server. Get the support team to setup this. And later you configure your website to use the plugin configuration file to do the trick. Note that this method can work, but its going to be costly, and it require some technical skill to configure the config file for the plugin. So forget about this! Its took me over $150 dollars and over 3 days work trying to get this running. And i failed.
Option 2, you can upload a simple “wp-404-handler.php” file that uses custom error 404 redirection script. Login to you easy cgi control panel, and go to custom 404 setting and add this .php file to your custom 404 redirection destination. And its done! Took you not more than 5 minutes to do it!
<?php
$qs = $_SERVER['QUERY_STRING'];
$_SERVER['REQUEST_URI'] = substr($qs, strpos($qs, ':80')+3);
$_SERVER['PATH_INFO'] = $_SERVER['REQUEST_URI'];
include('index.php');
?>
1) Add this content to “wp-404-handler.php” and upload this file to your easy cgi ftp root /yourdomain/. For my case, it will be “/easycgireview.org/wp-404-handler.php”
2) Login to your easy cgi control panel > Web site/domain management > select your domain > Custom error pages > 404 > add in “wp-404-handler.php” > save changes > done!
3) Test your wordpress permalink url:
http://www.easycgireview.org/easycgi/easy-cgi-coupons
http://www.easycgireview.org/easy-cgi-dns-domain-nameserver
http://www.easycgireview.org/2008/05
There are other option like mod_rewrite or php.ini configuration. Trust me, i had been through most of it, and they don’t work like the custom 404 redirection. Its too simple to be true! If you are looking for wordpress permalink url redirection, this article will help you.
More useful resources:
http://codex.wordpress.org/Using_Permalinks
http://tech.einaregilsson.com/2007/07/30/pretty-wordpress-permalinks-on-iis/
http://wordpress.org/support/topic/119303
Go to EasyCGI.com
2 Responses to “Easy CGI wordpress blog running in IIS”
10 Most Recent Posting
- Easycgi uptime by Easycgireview.org for April 2009
- Easycgi uptime for march 2009 - www.easycgireview.org
- Easycgi vs lunarpages (windows hosting comparison)
- Easycgi uptime for january 2009 - www.easycgireview.org
- Easy cgi website down and contacting support via live chat
- Easy cgi support chat experience & forwarding website problem
- Easy cgi support review & live chat support
- Easy cgi uptime for december 2008 - www.easycgireview.org
- Easy cgi .info domain name discount price at $1.99 per year
- Running wordpress blog with httpd.ini - Easy CGI windows ASP hosting











June 11th, 2008 at 8:04 pm
[...] Easy CGI wordpress blog running in IIS [...]
October 27th, 2008 at 9:36 am
[...] If you are new to windows web hosting, setting up wordpress blog of php scripts to fully running in windows hosting plan does crack your head. But thing are made easy in easy cgi hosting, now with their wordpress blog tools. Beside that, you can manually setup your wordpress blog here, with permalink url redirect working as well. Refer to my previous tutorial here: http://www.easycgireview.org/easy-cgi-wordpress-blog-running-in-iis [...]