SEO and IIS ISAPI
- jphilbert
- Joomla! Apprentice
- Posts: 23
- Joined: Fri Dec 02, 2005 4:22 am
SEO and IIS ISAPI
Joomla running on windows XP to 2003 Server R2 and with SEO functioning.
First job is to install ISAPI rewriter of your choice
http://www.isapirewrite.com/ or http://cheeso.members.winisp.net/IIRF.aspx
ISAPI REWrite has a lite version (limited) and IIRF (IonicIsapiRewriter) is freeware always updated and the source is FREE!!! (perfered)
Both are configured via file IsapiRewrite4.ini (you dont need to worry about .htaccess.txt ignore it)
The following entries for ISAPI REWRITE.
---------------------------------------------------------
RewriteLog D:\temp\iirfLog.out
RewriteLogLevel 3
IterationLimit 10
# Joomla/Mambo rewrite rules
RewriteRule ^/$ /index.php
RewriteRule ^/content/blogsection/([^/]+)/([^/]+)/ /index.php?option=com_content&task=blogsection&id=$1&Itemid=$2
RewriteRule ^/content/blogcategory/([^/]+)/([^/]+)/ /index.php?option=com_content&task=blogcategory&id=$1&Itemid=$2
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&$4=$5
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
The following is for IonicIsapiRewriter
-----------------------------------------------------
IterationLimit 10
MaxMatchCount 10
Tested and working with ARTIO JoomSEF
RewriteCond %{HTTP_URL} (/|\.htm|\.php|\.html|/[^.]*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) /index.php [U,L]RewriteCond %{HTTP_URL} (/|\.htm|\.php|\.html|/[^.]*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) /index.php [U,L]
Tested and working with default Joomla SEO
RewriteRule ^/$ /index.php
RewriteRule ^/content/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/ /index.php?option=com_content&task=$1&id=$2&Itemid=$3&limit=$4&limitstart=$5
RewriteRule ^/content/([^/]+)/([^/]+)/([^/]+)/ /index.php?option=com_content&task=$1&id=$2&Itemid=$3
RewriteRule ^/component/option,([^/]+)/([^/]+),([^/]+)/([^/]+),([^/]+)/([^/]+),([^/]+) /index.php?option=$1&$2=$3&$4=$5&$6=$7
RewriteRule ^/component/option,([^/]+)/([^/]+),([^/]+)/ /index.php?option=$1&$2=$3
Other Third party SEO should work once to follow there rewrite conditions/rules.
I run IonicIsapiRewriter-1.2.12b the betas are rock solid and I use it on my porduction servers with no issues.
Please follow vendors installation instructions to get the ISAPI filter working on your IIS server.
First job is to install ISAPI rewriter of your choice
http://www.isapirewrite.com/ or http://cheeso.members.winisp.net/IIRF.aspx
ISAPI REWrite has a lite version (limited) and IIRF (IonicIsapiRewriter) is freeware always updated and the source is FREE!!! (perfered)
Both are configured via file IsapiRewrite4.ini (you dont need to worry about .htaccess.txt ignore it)
The following entries for ISAPI REWRITE.
---------------------------------------------------------
RewriteLog D:\temp\iirfLog.out
RewriteLogLevel 3
IterationLimit 10
# Joomla/Mambo rewrite rules
RewriteRule ^/$ /index.php
RewriteRule ^/content/blogsection/([^/]+)/([^/]+)/ /index.php?option=com_content&task=blogsection&id=$1&Itemid=$2
RewriteRule ^/content/blogcategory/([^/]+)/([^/]+)/ /index.php?option=com_content&task=blogcategory&id=$1&Itemid=$2
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&$4=$5
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
The following is for IonicIsapiRewriter
-----------------------------------------------------
IterationLimit 10
MaxMatchCount 10
Tested and working with ARTIO JoomSEF
RewriteCond %{HTTP_URL} (/|\.htm|\.php|\.html|/[^.]*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) /index.php [U,L]RewriteCond %{HTTP_URL} (/|\.htm|\.php|\.html|/[^.]*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) /index.php [U,L]
Tested and working with default Joomla SEO
RewriteRule ^/$ /index.php
RewriteRule ^/content/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/ /index.php?option=com_content&task=$1&id=$2&Itemid=$3&limit=$4&limitstart=$5
RewriteRule ^/content/([^/]+)/([^/]+)/([^/]+)/ /index.php?option=com_content&task=$1&id=$2&Itemid=$3
RewriteRule ^/component/option,([^/]+)/([^/]+),([^/]+)/([^/]+),([^/]+)/([^/]+),([^/]+) /index.php?option=$1&$2=$3&$4=$5&$6=$7
RewriteRule ^/component/option,([^/]+)/([^/]+),([^/]+)/ /index.php?option=$1&$2=$3
Other Third party SEO should work once to follow there rewrite conditions/rules.
I run IonicIsapiRewriter-1.2.12b the betas are rock solid and I use it on my porduction servers with no issues.
Please follow vendors installation instructions to get the ISAPI filter working on your IIS server.
Last edited by jphilbert on Mon May 07, 2007 6:10 pm, edited 1 time in total.
-
- Joomla! Apprentice
- Posts: 8
- Joined: Fri Oct 28, 2005 4:35 pm
Re: SEO and IIS ISAPI
hi jphilbert,
How do IIS Rewrite for joomla1.54
Thanks
How do IIS Rewrite for joomla1.54
Thanks
-
- Joomla! Virtuoso
- Posts: 4031
- Joined: Sat Nov 11, 2006 9:34 pm
- Location: Hungary
Re: SEO and IIS ISAPI
I added this post to the Docs site:
http://docs.joomla.org/SEO_and_IIS_ISAPI
http://docs.joomla.org/SEO_and_IIS_ISAPI
- jphilbert
- Joomla! Apprentice
- Posts: 23
- Joined: Fri Dec 02, 2005 4:22 am
Re: SEO and IIS ISAPI
Thank you please put me down as the contributor for this so I can update if necessary.
This works for all versions of Joomla 1.05 and 1.54.
This works for all versions of Joomla 1.05 and 1.54.
- jphilbert
- Joomla! Apprentice
- Posts: 23
- Joined: Fri Dec 02, 2005 4:22 am
Re: SEO and IIS ISAPI
IIRF is what I use for joomla 1.54 and JoomlaSEf. Same settings work fine for both 1.05 and 1.54 Versions.
Let me know if you have issues.
Let me know if you have issues.
-
- Joomla! Fledgling
- Posts: 4
- Joined: Mon Jun 16, 2008 11:10 pm
Re: SEO and IIS ISAPI
hmmm. I am having some problems.
I'm running Joomla 1.5, and have their native SEO function turned on. I have an article associated with a menu, and the URL for the article (once SEO is turned on in the global settings) is:
http://localhost/index.php/help/faq (note that I'm just running on my local windows box)
With the rules posted above (and the free isapi filter running), it doesn't find a rule (I think), so as a result I get a page cannot be found error.
Any thoughts on what I should be doing differently?
I should have mentioned that I'm using IonicIsapiRewriter. Thanks for any thoughts on the topic...
I'm running Joomla 1.5, and have their native SEO function turned on. I have an article associated with a menu, and the URL for the article (once SEO is turned on in the global settings) is:
http://localhost/index.php/help/faq (note that I'm just running on my local windows box)
With the rules posted above (and the free isapi filter running), it doesn't find a rule (I think), so as a result I get a page cannot be found error.
Any thoughts on what I should be doing differently?
I should have mentioned that I'm using IonicIsapiRewriter. Thanks for any thoughts on the topic...
Last edited by LeeKlaus on Thu Jul 17, 2008 4:58 pm, edited 2 times in total.
-
- Joomla! Virtuoso
- Posts: 4031
- Joined: Sat Nov 11, 2006 9:34 pm
- Location: Hungary
Re: SEO and IIS ISAPI
All registered users can edit that article, so I suggest to register and make the modifications you want. And thanks for contributing it!
- jphilbert
- Joomla! Apprentice
- Posts: 23
- Joined: Fri Dec 02, 2005 4:22 am
Re: SEO and IIS ISAPI
I will do a test and let you know. I do not use the native SEO I use JoomlaSEF for joomla 1.5LeeKlaus wrote:hmmm. I am having some problems.
I'm running Joomla 1.5, and have their native SEO function turned on. I have an article associated with a menu, and the URL for the article (once SEO is turned on in the global settings) is:
http://localhost/index.php/help/faq (note that I'm just running on my local windows box)
With the rules posted above (and the free isapi filter running), it doesn't find a rule (I think), so as a result I get a page cannot be found error.
Any thoughts on what I should be doing differently?
I should have mentioned that I'm using IonicIsapiRewriter. Thanks for any thoughts on the topic...