Internal Server error is not specific for wordpress it can be occur in any site and platform.
http error 500 showing to your website, this is not a server issue, it can be occur due to plugin , theme or many more.
What is the 500 internal server error
Internal sever error are unclear , basically we do know what actually happen , unknown error comes.
This error comes when we do operation that went wrong to our website. In wordpress this error comes usually by the script in the theme or by plugin.
Do not worry , we provide you good solution to fix the error( 500 internal server error in wordpress).
How to Fix 500 internal server error
SOLUTION 1 :
- Go to ftp or cpanel of your site
- On the root you find .htaccess file.
- Rename . htaccess file for example .htaccess_rename
SOLUTION 2 :
Turn on debugging mode in WordPress. Follow the step to turn on debugging mode.
- Go to ftp or c panel
- There is file wp-config.php
- Edit the file wp-config.php
define( ‘WP_DEBUG’, false ); make false value true
SOLUTION 3 :
Deactivate all plugins , If you have an access to your dashboard then deactivate the plugin one by one and check the website.
If you do not have access or admin is not working then follow the steps below:
- Go to cpanel or ftp
- Enter to wp-content folder
- Click to plugin folder then rename the plugin folder.
SOLUTION 4 :
Increase your memory
- Go to wp-config file increase the memory
- Add below code.
SOLUTION 5 :
Rename the theme folder
- Login to cpanel or ftp
- Go to wp-content folder
- Then rename theme folder
Follow the above solution to solve 500 internal server error in wordpress , if the error still remain the same the contact your hosting provider.