HomePage 404 but /index.php works
-
If you visit
https://www.katepriestphotography.com/
I get a 404 error, but
https://www.katepriestphotography.com/index.php
Works fine.
I’ve got the following in my web.config file
<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <httpRedirect enabled="false" destination="https://www.katepriestphotography.com/index.php" childOnly="false" httpResponseStatus="Permanent" /> <rewrite> <rules> <rule name="Main Rule" stopProcessing="true"> <match url=".*" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php/{R:0}" /> </rule> </rules> </rewrite> </system.webServer> </configuration>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘HomePage 404 but /index.php works’ is closed to new replies.