我必须通过web.config将URL从ceo / edit-member.php?id = 123更改为ceo / edit-member / 123
我正在使用以下代码,但无法正常工作。请帮帮我。...
<rule name="Redirect to edit-member.php" stopProcessing="true">
<match URL=".*" />
<conditions>
<add input="{HTTP_HOST}" pattern="^edit-member/([^/]+)/?$" />
</conditions>
<action type="Redirect" url="edit-member.php?id={R:0}" redirectType="Permanent" />
</rule>
是,您可以执行此操作,或者可以获得有关CEO full form的完整信息