I want redirect blog/customfilename.php to blog/customfilename using web.config wordpress
Question
I want redirect only this file blog/customfilename.php
to blog/customfilename
using web.config
WordPress.
I applying this rule :
<rule name="hide .php extension" stopProcessing="true">
<match url="(.*).php" />
<conditions>
<add input="is-quickbooksonline-down" matchType="IsFile" negate="true" />
<add input="is-quickbooksonline-down" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="is-quickbooksonline-down.php" />
</rule>
but this rule apply on all file in blog folder but I want apply only to one file. I already applied all tag like in comment section please check in <match url = "is-quickbooksonline-down.php" />
or something etc no fruitful result given.Thanks
0
iis, redirect, rewrite-rules, wordpress.com-hosting
4 years
2020-03-26T04:51:03-05:00
2020-03-26T04:51:03-05:00 0 Answers
125 views
0
Leave an answer