D
D
DieHippieDie2019-10-18 17:44:07
IIS
DieHippieDie, 2019-10-18 17:44:07

How to make on iis to process all url index.php?

How to make on iis to process all url index.php?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
akelsey, 2019-10-18
@akelsey

I haven’t tried it myself, but the recommendation for the IIS webconfig file is to do rewrite like this (try it, just back up the original file):

<rewrite>
        <rules>
            <rule name="redirect all requests" stopProcessing="true">
                <match url="^(.*)$" ignoreCase="false" />
                <conditions logicalGrouping="MatchAll">
                    <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" pattern="" ignoreCase="false" />
                </conditions>
                <action type="Rewrite" url="index.php" appendQueryString="true" />
            </rule>
        </rules>
    </rewrite>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question