If you want pretty url on windows IIS7 then you need web.config file in your server as .htaccess not working on IIS7. web.config should have
[?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" /]
[/rule]
[/rules]
[/rewrite]
[directoryBrowse enabled="false" /]
[/system.webServer]
[/configuration]
Replace '[' with '<' (less than sign) and ']' with '>' (greater than sign) 1) create a web.config file with the code 2) Add to root directory 3) enable pretty url
Loading Conversation