When trying to access your website, you may see a page which returns the status code “500”. In Google Chrome, you’ll see a page with the error code HTTP ERROR 500.
There are typically two reasons which can cause this error:
The PHP code has crashed.
The .htaccess file contains invalid rules.
Here are some things you can try to debug and fix this.
Fixing crashing PHP code
A HTTP ERROR 500 simply tells you that the PHP code has crashed, but gives no information as to why it has crashed.
Gett…
If the problem is in the database connection, yesterday there was some maintenance on the database servers; here’s how I solved my issue in particular in case some hosting accounts are still having the database problem:
I was also having the same issue with my blog (which I remind you I don’t touch that much), which I didn’t resolve by changing username and password on my configuration file, but I got it working by changing my hosting account password as well to try and force the system to fix the permissions! If it doesn’t work on your end try it as well:
Though the wait isn’t necessary, it’s still good measure to make sure your WordPress websites will work again. Also, make sure to update all your wp-config…
As for the 404:
While working on your website, you may be redirected to the InfinityFree 404 error page . This article explains why this typically happens and what you can do to fix this.
Why do I get a 404 error
When you try to access a file on a website, the server tries to find the matching file to load. By default, it works like this.
Suppose you have a website http://example.com which is linked to the folder htdocs in your hosting account. If you then try to load a certain URL, like http://example.com/blo…
3 Likes