Hello,
My webhost uses an IIS server and there appeared a problem after changing permalinks in Wordpress (/%postname%/).
None of the pages where accesible (404 error).
In order to fix this, I created the standard web.config file.
Everything now worked except the standard url (domainname.nl).
The hosting provider came up with a solution to redirect to /home.
This solved the problem.
However, now the admin section isn't reachable (/wp-admin).
This is now changed to /home/wp-admin.
Any idea how to fix this?
<?xml version="1.0" encoding="UTF-8"?><configuration><system.webServer><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><httpRedirect enabled="true" destination="/home" childOnly="true" /></system.webServer></configuration>