[SOLVED] SEO Friendly URLS on IIS - I have it working!
Posted: Mon Dec 08, 2008 3:53 pm
I just finished banging my head against ISAPI rewrite - all working now, I used:
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!
Code: Select all
[ISAPI_Rewrite]
RewriteCond Host: (www\.)?mydomain\.org
RewriteRule /(.+)\.html /index.php?page=$2 [I,L]
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!