In IIS 7 , you can add below code in the Option “URL Rewrite” when you click on the domain, as the .htaccess will not work as it works for Linux servers:



        <rule name="Main Rule" stopProcessing="true">
 <match url=".*" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
<action type="Rewrite" url="index.php/{R:0}" />


By anup

Leave a Reply

Your email address will not be published. Required fields are marked *