If you face internal server error in WordPress, you can check those steps to fix internal server error.
1. Check .htaccess file in public_html
2. Check php memory limit and increase
3. Deactivate all plugins and check one by one
4. Change wp core file (make sure you make backup of wp-config.php and wp-content folder or skip those from changes)
Default .htaccess for WordPress:
(can’t share code due to YouTube restriction about brackets)
Memory limit code for wp-config.php:
define (‘WP_MEMORY_LIMIT’, ‘256M’);
Fix error establish database connection: . про ошибка вордпресс.