GoogleMax

All about SEO/SEF, google optimation, crawl search engine, computer, CMS

Friday, October 20, 2006

JOOMLA CMS - Joomla SEF Work on IIS with ISAPI_REWRITE

SEF on Joomla is for Apache only. It is using mod_rewrite for pointing server to the right file whilst all logic is in PHP.

Soo how if your host running on IIS..??
I have standard Joomla SEF working on my hosted website using IIS, this my steps to get it..

  1. Enable SEF in Joomla (Site Menu ~~>> Global Configuration ~~>> SEO)
  2. Add the following rules to your ISAPI Rewrite config file
  3. Remove/Rename every /joomla folder in the rules above. Also, make index.php a default document in your IIS config since that should fix that kind of problem without using rewrite rules.

==============================
[ISAPI_Rewrite]

RewriteRule .*/joomla folder/([^/]+)/blogcategory/([^/]+)/([^/]+)/ /joomla folder/index.php?option=com_$1&task=blogcategory&id=$2&Itemid=$3
RewriteRule .*/joomla folder/([^/]+)/blogcategory/([^/]+)/([^/]+)/([^/]+)/([^/]+)/
/joomla folder/index.php?option=com_$1&task=blogcategory&id=$2&Itemid=$3&limit=$4&limitstart=$5
RewriteRule .*/joomla folder/([^/]+)/blogsection/([^/]+)/([^/]+)/ /joomla folder/index.php?option=com_$1&task=blogsection&id=$2&Itemid=$3
RewriteRule .*/joomla folder/([^/]+)/blogsection/([^/]+)/([^/]+)/([^/]+)/([^/]+)/
/joomla folder/index.php?option=com_$1&task=blogsection&id=$2&Itemid=$3&limit=$4&limitstart=$5
RewriteRule .*/joomla folder/content/section/([^/]+)/([^/]+)/ /joomla folder/index.php?option=com_content&task=section&id=$1&Itemid=$2
RewriteRule .*/joomla folder/component/option,([^/]+)/ /joomla folder/index.php?option=$1
RewriteRule .*/joomla folder/component/option,([^/]+)/([^/]+),([^/]+)/ /joomla folder/index.php?option=$1&$2=$3
RewriteRule .*/joomla folder/component/option,([^/]+)/([^/]+),([^/]+)/([^/]+),([^/]+)/ /joomla folder/index.php?option=$1&$2=$3&$4=$5
RewriteRule .*/joomla folder/component/option,([^/]+)/([^/]+),([^/]+)/([^/]+),([^/]+)/([^/]+),([^/]+)/ /joomla folder/index.php?option=$1&$2=$3&$4=$5&$6=$7
RewriteRule .*/joomla folder/component/option,([^/]+)/([^/]+),([^/]+)/([^/]+),([^/]+)/([^/]+),([^/]+)/
([^/]+),([^/]+)/ /joomla folder/index.php?option=$1&$2=$3&$4=$5&$6=$7&$8=$9
RewriteRule .*/joomla folder/component/option,([^/]+)/([^/]+),([^/]+)/([^/]+),([^/]+)/([^/]+),([^/]+)/
([^/]+),([^/]+)/([^/]+),([^/]+)/ /joomla folder/index.php?option=$1&$2=$3&$4=$5&$6=$7&$8=$9&$10=$11
RewriteRule .*/joomla folder/component/option,([^/]+)/([^/]+),([^/]+)/([^/]+),([^/]+)/([^/]+),([^/]+)
/([^/]+),([^/]+)/([^/]+),([^/]+)/([^/]+),([^/]+)/ /joomla folder/index.php?option=$1&$2=$3&$4=$5&$6=$7&$8=$9&$10=$11&$12=$13
RewriteRule .*/joomla folder/component/option,([^/]+)/([^/]+),([^/]+)/([^/]+),([^/]+)/([^/]+),([^/]+)
/([^/]+),([^/]+)/([^/]+),([^/]+)/([^/]+),([^/]+)/([^/]+),([^/]+)/ /joomla folder/index.php?option=$1&$2=$3&$4=$5&$6=$7&$8=$9&$10=$11&$12=$13&$14=$15
RewriteRule ^/joomla folder/component/option,([^/]+)/([^/]+),([^/]+)/([^/]+),([^/]+)/([^/]+),([^/]+)/
([^/]+),([^/]+)/([^/]+),([^/]+)/([^/]+),([^/]+)/\?(.*) /joomla folder/index.php?option=$1&$2=$3&$4=$5&$6=$7&$8=$9&$10=$11&$12=$13&$14
RewriteRule ^/joomla folder/component/option,([^/]+)/([^/]+),([^/]+)/([^/]+),([^/]+)/([^/]+),([^/]+)/
([^/]+),([^/]+)/([^/]+),([^/]+)/\?(.*) /joomla folder/index.php?option=$1&$2=$3&$4=$5&$6=$7&$8=$9&$10=$11&$12
RewriteRule ^/joomla folder/component/option,([^/]+)/([^/]+),([^/]+)/([^/]+),([^/]+)/([^/]+),([^/]+)/
([^/]+),([^/]+)/\?(.*) /joomla folder/index.php?option=$1&$2=$3&$4=$5&$6=$7&$8=$9&$10
RewriteRule ^/joomla folder/component/option,([^/]+)/([^/]+),([^/]+)/([^/]+),([^/]+)/([^/]+),([^/]+)/\?(.*) /joomla folder/index.php?option=$1&$2=$3&$4=$5&$6=$7&$8
RewriteRule ^/joomla folder/component/option,([^/]+)/([^/]+),([^/]+)/
([^/]+),([^/]+)/\?(.*) /joomla folder/index.php?option=$1&$2=$3&$4=$5&$6
RewriteRule ^/joomla folder/component/option,([^/]+)/([^/]+),([^/]+)/\?(.*) /joomla folder/index.php?option=$1&$2=$3&$4
RewriteRule .*/joomla folder/content/category/([^/]+)/([^/]+)/([^/]+)/ /joomla folder/index.php?option=com_content&task=category&ionid=$1&&id=$2&Itemid=$3
RewriteRule .*/joomla folder/content/view/([^/]+)/([^/]+)/([^/]+)/([^/]+)/ /joomla folder/index.php?option=com_content&task=view&id=$1&Itemid=$2&limit=$3&limitstart=$4
RewriteRule .*/joomla folder/content/view/([^/]+)/([^/]+)/ /joomla folder/index\.php\?option=com_content&task=view&id=$1&Itemid=$2


==============================

JOMLA CMS - Make SEO With anything extension (.html/.htm/php/.cpg/....)

This component rewrites Joomla! URLs to be Search Engine Friendly. It is continuation of the component previously named 404SEFx (or 404SEF for Mambo). At present time, it is the only free SEF component for Joomla to work together with JoomFish component.


Expandibility, modules support
Built-in support of core Joomla modules and JoomFish. Also provides add-on interface, so more module SEF URL definitions can be added easily. Current release includes support for DocMan component. If you are interested in support for your module, please contact us.


Compatibility
Current release has been tested with Joomla! version 1.0.10 with JoomFish 1.7 installed, both on Windows and Linux systems. Please note that similar to other Joomla! SEF extensions, JoomSEF is primarily designed for Apache but with a bit greater configuration effort should also work on IIS.


Version history
Current version is 1.2.5 RC from 18.9.2006.

Download here