- EasyCGI.com offering affordable windows hosting
- 350GB storage space, 3500GB monthly bandwidth
- 24/7 support, phone support.
- Host unlimited unique sites. Free domain & setup.
- Emails, ftp, MySQL, SQL server, phpbb forum, ecommerce.
- Support Windows ASP .net, IIS, PHP 4 & PHP 5.
- Easy CGI Coupon: Easy CGI Yearly Plan Discount 20%

   
Easy cgi forum Easy CGI Review after 10 months hosted

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

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google

One Response to “Easy CGI wordpress blog running in IIS”

  1. Easy CGI Review after 10 months hosted Says:

    [...]   Easy CGI wordpress blog running in IIS [...]

Leave a Reply


10 Most Recent Posting