<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules><rule name="http to https" stopProcessing="true"><match url="(.*)"/><conditions><add input="{HTTPS}" pattern="^OFF$"/></conditions><action type="Redirect" url="https://{HTTP_HOST}/{REQUST_URL}"/></rule> <rule name="WordPress: https://raff.ru.ac.th" patternSyntax="Wildcard"> <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"/> </rule></rules> </rewrite> </system.webServer> </configuration>