How to use ISAPI_Rewrite 3 with Drupal![]() Introduction Drupal is a very popular CMS (Content Management System) that supports SE-friendly
URLs. It is designed for usage with Apache Web Server and has no default solution
to use with IIS. But of course you can use this CMS with IIS Web Server and
ISAPI_Rewrite will help you to enable SE-friendly URLs. This short article describes
how to setup Drupal to use with ISAPI_Rewrite 3. Getting and Installing Drupal You can download Drupal from official web site: http://drupal.org/.
Please install Drupal according to installation instructions provided by vendor.
Picture 1. Configuration for SEO-friendly URLs during
installation.
Please just leave it as is, it is possible to change this setting later. Enabling SEO-friendly URLsPlease find the file %PATH_TO_DRUPAL%/sites/default/settings.php, where %PATH_TO_DRUPAL% is the root of Drupal's installation folder. Open this document and append the code given below:
Then please open .htaccess file located in the root folder of Drupal.
There are many rules but only some of them are intended for ISAPI_Rewrite, others
are for Apache Web Server.
Actually these are default Drupal rules for Apache mod_rewrite configuration
and we just cut them from default .htaccess file. |