** 当我尝试下面的代码时,我更改了我的重写规则以将我的网站链接从 www.mydomain.com/index.php?do=/blog 更改为 www.mydomain.com/blog,它不会让我更改任何页面,例如如果我想访问 www.mydomain.com/blog,我只是卡在 www.mydomain.com,意味着重定向到我的同一个根页面,
我应该为此做些什么改变,请帮忙。我是新人
我的代码是**
`<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>`