Hack: SEO on IIS
Posted: Wed Sep 07, 2005 10:54 am
Hi
I have just found this GREATE ISAPI
http://cheeso.members.winisp.net/dl/Ion ... writer.zip
It let's you use SEO on IIS!!
Here is the rules to make a "out of the box" Mamabo/Joomla running with SEO turned on.
# Joomla/Mambo rewrite rules
RewriteRule ^/$ /index.php
RewriteRule ^/([^/]+)/blogsection/([^/]+)/([^/]+)/ /index.php?option=com_$1&task=blogsectiony&id=$2&Itemid=$3
RewriteRule ^/content/section/([^/]+)/([^/]+)/ /index.php?option=com_content&task=section&id=$1&Itemid=$2
RewriteRule ^/component/option,([^/]+)/([^/]+),([^/]+)/([^/]+),([^/]+)/([^/]+),([^/]+) /index.php?option=$1&$2=$3&$4=$5&$6=$7
RewriteRule ^/component/option,([^/]+)/([^/]+),([^/]+)/ /index.php?option=$1&$2=$3
RewriteRule ^/content/category/([^/]+)/([^/]+)/([^/]+)/ /index.php?option=com_content&task=category§ionid=$1=&id=$2&Itemid=$3
RewriteRule ^/content/view/([^/]+)/([^/]+)/([^/]+)/([^/]+)/ /index.php?option=com_content&task=view&id=$1&Itemid=$2&limit=$3&limitstart=$4
RewriteRule ^/content/view/([^/]+)/([^/]+)/ /index.php?option=com_content&task=view&id=$1&Itemid=$2
I'm not deep into regular expression, so I assume that the above can be optimized - but it works
Plese let me know if you optimize or find any improvements.
Best
Steen
I have just found this GREATE ISAPI
http://cheeso.members.winisp.net/dl/Ion ... writer.zip
It let's you use SEO on IIS!!
Here is the rules to make a "out of the box" Mamabo/Joomla running with SEO turned on.
# Joomla/Mambo rewrite rules
RewriteRule ^/$ /index.php
RewriteRule ^/([^/]+)/blogsection/([^/]+)/([^/]+)/ /index.php?option=com_$1&task=blogsectiony&id=$2&Itemid=$3
RewriteRule ^/content/section/([^/]+)/([^/]+)/ /index.php?option=com_content&task=section&id=$1&Itemid=$2
RewriteRule ^/component/option,([^/]+)/([^/]+),([^/]+)/([^/]+),([^/]+)/([^/]+),([^/]+) /index.php?option=$1&$2=$3&$4=$5&$6=$7
RewriteRule ^/component/option,([^/]+)/([^/]+),([^/]+)/ /index.php?option=$1&$2=$3
RewriteRule ^/content/category/([^/]+)/([^/]+)/([^/]+)/ /index.php?option=com_content&task=category§ionid=$1=&id=$2&Itemid=$3
RewriteRule ^/content/view/([^/]+)/([^/]+)/([^/]+)/([^/]+)/ /index.php?option=com_content&task=view&id=$1&Itemid=$2&limit=$3&limitstart=$4
RewriteRule ^/content/view/([^/]+)/([^/]+)/ /index.php?option=com_content&task=view&id=$1&Itemid=$2
I'm not deep into regular expression, so I assume that the above can be optimized - but it works
Plese let me know if you optimize or find any improvements.
Best
Steen