Advertisement
Guest User

magento web.config windows iis

a guest
Jul 23rd, 2013
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.67 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <configuration>
  3.   <system.webServer>
  4.     <rewrite>
  5.       <rules>
  6.     <rule name="Magento SEO: remove index.php from URL">
  7.       <match url="^(?!index.php)([^?#]*)(\?([^#]*))?(#(.*))?" />
  8.         <conditions>
  9.           <add input="{URL}" pattern="^/(media|skin|js)/" ignoreCase="false" negate="true" />
  10.           <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
  11.           <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
  12.         </conditions>
  13.       <action type="Rewrite" url="index.php/{R:0}" />
  14.     </rule>
  15.       </rules>
  16.     </rewrite>
  17.   </system.webServer>
  18. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement