How to Fix WordPress Errors

When WordPress shows an error instead of your site, the fix is usually a small, specific thing — a wrong password, a plugin that broke after an update, or a file that cannot be reached. This hub brings together the nine error guides on this site, with the order to try them in. Start with the error you can see, back up before you change anything, and practise on a test install where the guide says a step was deliberately not tested live. Each guide walks through its fix step by step, in the order you would try it on your own site.

Guides in this hub

403 Forbidden error

A 403 error means the server understood the request but will not let you in. Follow how to fix the 403 Forbidden error in WordPress to check file permissions, the .htaccess file and security-plugin rules, and to tell whether the block is on your site or on the server side.

404 error

A 404 means WordPress cannot find the page at that address. Learn how to fix the 404 error in WordPress: how to reset the permalink settings, when a single post is broken versus the whole site, and how to set up a redirect if a page has genuinely moved.

500 internal server error

The 500 error is the least helpful message WordPress shows — it only says something went wrong on the server. Follow how to fix the 500 internal server error in WordPress to work through the usual causes in order: a corrupted .htaccess file, a plugin or theme conflict, and the PHP memory limit.

White screen of death

A blank white page with no message at all is often a fatal PHP error that WordPress cannot display. Learn how to fix the WordPress white screen of death: how to turn on debugging to see the real error, how to disable plugins and the theme from the file manager when the dashboard is unreachable, and how to check the PHP memory limit.

Error establishing a database connection

This error means WordPress cannot reach its database. Follow how to fix “Error establishing a database connection” in WordPress to check the database name, username, password and host in wp-config.php against your hosting panel, test the same login in phpMyAdmin, and repair tables only if the log points at damaged tables.

Stuck in maintenance mode

WordPress shows “Briefly unavailable for scheduled maintenance” while it updates — and if an update is interrupted, it can stay there. Learn how to fix WordPress stuck in maintenance mode: how to remove the .maintenance file safely, and how to finish or roll back the interrupted update afterwards.

Login problems

If you cannot log in at all, the cause is usually the password, the login page itself, or a plugin that changed how login works. Follow how to fix WordPress login problems to reset the password, use the password-reset link, check whether the login page is blocked, and regain access through the database if you have to.

WordPress not sending email

Password resets, order emails and form notifications all depend on WordPress being able to send mail — and by default it uses PHP mail, which many hosts block or mark as spam. Learn how to fix WordPress not sending email: how to test whether mail is going out at all, and how to send it through an SMTP service instead.

Find a plugin conflict

When a problem starts after a plugin update, one plugin — or two plugins disagreeing — is often the cause. Follow how to find a WordPress plugin conflict to disable plugins in groups, reactivate them one at a time, and identify the one that brings the problem back, without losing your plugin settings.

Before you start fixing anything

Back up first. If you do not have a backup routine yet, read how to back up your WordPress website and restore it before you edit files or the database. If the site is still working well enough to update, also read how to update WordPress safely — many errors are fixed by an update done in the right order.

Where to go next

If you are still building the site, start with how to start with WordPress, or if you are selling online, how to build a WooCommerce store. To keep the site fast, backed up and measured, see how to grow and protect your WordPress site. You can also browse all guides on this site in one place.

Learn WordPress Online is an independent tutorial site. It is not affiliated with, endorsed by, or sponsored by the WordPress Foundation or Automattic Inc. 'WordPress' is a registered trademark of the WordPress Foundation.