GoDaddy Windows IIS7 Pretty URL [Solved]

Permalink
I looked high and low for this and I just wanted to post this in case someone else runs into the problem I did. If you want pretty URLs on a GoDaddy IIS7 Server you should try this web.config:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <system.web>
    <identity impersonate="false" /> 
  </system.web>
  <system.webServer>
    <rewrite>
  <rules>
    <rule name="Imported Rule 1" stopProcessing="true">
      <match url="^(.*)$" ignoreCase="false" />
      <conditions>
        <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
        <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
      </conditions>
      <action type="Rewrite" url="index.php/{R:1}" appendQueryString="true" />


Instructions:
1. Create a web.config with this code
2. Add to you c5 sites root directory
3. Enable pretty urls

It should work. It worked for me. :) Hope this helps someone.

dwayneparton
 
Deladroid replied on at Permalink Reply
Deladroid
I've been searching for this! Thank you! I now have mine working on IIS7.
simonknibbs replied on at Permalink Reply
simonknibbs
This is fantastic... It has saved me a lot of time.