NoraHensl
New Pleskian
Recently I had a problem with my website, and while I was looking for a solution, I found a tutorial on how to fix several popular WordPress errors. Here are some of them:
1. Internal Server Error may appear if something is wrong and the server is not able to identify the problem. In this case you can:
You can paste the following code in your wp-config.php file.
Note: Before you make any changes to your site, make sure you have a backup of your WordPress site.
Hope it will be helpful for you!
Regards,
Nora
1. Internal Server Error may appear if something is wrong and the server is not able to identify the problem. In this case you can:
- check for the corrupted .htaccess file
- increase PHP memory limit
- deactivate all WordPress plugins at once
- re-upload the wp-admin and wp-includes folder from a fresh WordPress install
- contact your web hosting support team to check the server logs
- edit the code that caused this error
- access the file you last edited using FTP
- connect it to your website and go to the theme file that needs editing (the error will tell exactly which file and which line you need to edit)
- remove the code you last added or write the code in correct syntax
- save the file and upload it back to your server
- increase PHP memory available to WordPress
- disable all the plugins
- replace your current theme with a default theme
- turn on debugging in WordPress
- empty your cache
- increase PHP’s text processing capability by increasing the recursion and backtrack limit
You can paste the following code in your wp-config.php file.
1 2 3 | /** Trick for long posts */ ini_set('pcre.recursion_limit',20000000); ini_set('pcre.backtrack_limit',10000000); |
Note: Before you make any changes to your site, make sure you have a backup of your WordPress site.
Hope it will be helpful for you!
Regards,
Nora
Last edited: