Windows Hosting wordpress website Not working return HTTP ERROR 500

My wordpress website not working, return HTTP ERROR 500 ,

https://snag.gy/mZckSq.jpg

I am using windows hosting, my web.config file,

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <system.webServer>
    <rewrite>
      <rules>
			<rule name="WordPress: http://abc.com" 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>

How to solve the error?

Error 500 is pretty random, look in the error log of your IIS.

Where is iis log files located in windows hosting server?

Where ever you set them to be.

1 Like

@astonecipher I am completely new to windows server could you pls explain in brief?

In IIS, go to that site and see where the logs are going. It is a site specific setting when it was created and added to the App Pool.

Sponsor our Newsletter | Privacy Policy | Terms of Service