** 我更改了我的重写规则,以将我的网站链接从www.mydomain.com/index.php?do=/blog更改为www.mydomain.com/blog这个当我尝试下面的代码,它不会让我改变任何页面,就像我想去www.mydomain.com/blog,我只是在www.mydomain.com被困住,意味着重定向到我的同一个根目录页面,重写规则在phpfox中的IIS中无法正常工作
我应该为此做些什么改变,请大家帮忙。我是一个newbei
我的代码是**
`<rule name="Redirect index.php" stopProcessing="true">
<match url="index\.php/(.*)" />
<action type="Redirect" url="{R:1}" appendQueryString="false" />
</rule>
<rule name="Rewrite index.php">
<match url="(.*)" />
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="index.php/{R:1}" />
</rule>
</rules>`
的可能重复[是否有任何phpfox选项可以设置搜索引擎友好的URL?](http://stackoverflow.com/questions/18739871/is-there-any-option-in-phpfox-to-设置SEO友好的URL) – 2013-09-21 10:04:23