Page 1 of 1

[SOLVED] SEO Friendly URLS on IIS - I have it working!

Posted: Mon Dec 08, 2008 3:53 pm
by usolis
I just finished banging my head against ISAPI rewrite - all working now, I used:

Code: Select all

[ISAPI_Rewrite]
RewriteCond Host: (www\.)?mydomain\.org
RewriteRule  /(.+)\.html /index.php?page=$2 [I,L]
Hope that helps some of you - basically in ISAPI rewrite 2 the file and directory existence checks are not implemented - so this takes all files ending in .html (as set up in my config.php) and turns them into queries.

Many hosts don't yet use ISAPI rewrite 3 (it conflicts with IIS password)

Hope this helps save somebody a day like I've had today!

Re: [SOLVED] SEO Friendly URLS on IIS - I have it working!

Posted: Tue Dec 01, 2009 11:02 am
by kneep
Somebody knows how to get this ISAPI rewrite working with the MLE fork of CMS Made Simple?