500 error when logging out of admin area – IIS
-
Currently, admin users can log into the administration area without any issues. When they try to log out, they receive a 500 error for:
wp-login.php?action=logout&_wpnonce=<somenumberhere>
The only area to log in is the admin dashboard. I do not have a log in for general users when visiting the site. As such, there is no logout button in the theme. This is ONLY for the admin section of wordpress. Comments are turned off.
This is running on Windows Server 2008 R2 with IIS and PHP. I am using an LDAP plugin. Below is my web.config.
<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <httpErrors errorMode="Custom"/> <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> <rule name="wordpress" 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> <defaultDocument> <files> <clear/> <add value="index.php"/> </files> </defaultDocument> </system.webServer> </configuration>
Let me know if there is anything else I need to provide to help solve this issue. Thanks in advance!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘500 error when logging out of admin area – IIS’ is closed to new replies.