Okay, so after doing some more digging around I found this on a site. I'll post it, just in case someone else has the same problem.
In the web folder you need a web.config file with the following rules
Code:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Imported Rule 1" stopProcessing="true">
<match url="^app\.php(/(.*)|$)" ignoreCase="false" />
<action type="Redirect" redirectType="Permanent" url="/{R:2}" />
</rule>
<rule name="Imported Rule 2" stopProcessing="true">
<match url=".?" ignoreCase="false" />
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" />
</conditions>
<action type="None" />
</rule>
<rule name="Imported Rule 3" stopProcessing="true">
<match url=".?" ignoreCase="false" />
<action type="Rewrite" url="/app.php" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
Bookmarks