How to fix wordpress error 500?

WordPress error 500 is generally an insufficient memory problem.

Here’s how to fix it.

  1. Via your Cpanel or your FTP access, you will edit the wp-config file which is at the root of your WordPress site.
  2. Copy and paste the code below just after the line ‘That’s all, stop editing! Happy blogging. ’

 

define( 'WP_MEMORY_LIMIT', '256M' );

 

If it does not work, in this case, you must increase the PHP memory via your server or Cpanel.

Cache plugins can also cause error 500 after a website migration, you will need to deactivate or delete them and reinstall.

Leave a Comment

Your email address will not be published.

Scroll to Top

Welcome
Choose your language