Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <configuration>
- <system.webServer>
- <rewrite>
- <rules>
- <rule name="Magento SEO: remove index.php from URL">
- <match url="^(?!index.php)([^?#]*)(\?([^#]*))?(#(.*))?" />
- <conditions>
- <add input="{URL}" pattern="^/(media|skin|js)/" ignoreCase="false" negate="true" />
- <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:0}" />
- </rule>
- </rules>
- </rewrite>
- </system.webServer>
- </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement