Removed index.php now all pages with Internal Server Error

I just found the answer. Firstly, I look out for an apache error log in /var/log/apache2, on the file error.log.1 I found these last lines: [Sun May 26 22:46:23.694952 2019] [core:alert] [pid 8436] [client ::1:52840] /var/www/html/site2.localhost/public_html/.htaccess: Invalid command ‘RewriteEngine’, perhaps misspelled or defined by a module not included in the server configuration, referer: http://site2.localhost/wp-admin/edit.php?post_type=page [Mon … Read more

500 Error, Get custom field and returning it

500 error or internal server error is probably caused by a PHP error. By enabling WordPress debug, you’ll easily find where the problem is. You can follow the instructions here https://wordpress.org/support/article/debugging-in-wordpress/#wp_debug_log From your code, it’s easy, you’re missing a semi-column before the closing curly bracket.

Unable to access my page or WP Admin

there might be these possibilities please check both the cases Please allow the debugging mode in your wp-config file define(‘WP_DEBUG’, false); make it true. If after enabling the debug you didn’t get any fatal error, then this problem is related to your hosting server, do check with their support.

General 500 error from the root

I would disable .htaccess and changing the permalink structure that can be found in (setting->permalinks). You’re specifically getting a 500 error and not a “Cannot connect to the Database” error? Since it sounds like a theme issue, inside of wp-config.php, set: define( ‘WP_DEBUG’, true ); define( ‘WP_DEBUG_LOG’, true ); define( ‘WP_DEBUG_DISPLAY’, true); so you can … Read more