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:
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.
<?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" />
Viewing 15 lines of 21 lines. View entire code block.
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.