My website and WP-admin dashboard hosted on AWS Lightsail instance is displaying a “HTTP Error 500” after I replaced my WordPress files except the wp-content and wp-config.php file, I have replaced the code in the .htaccess file to the default code and I’ve renamed the plugins and themes folders in the wp-content folder but the error still persists, please any help will really be appreciated. Thank you!
I’ve renamed the themes and plugins folders in the wp-content folder, I have replaced the code to the default in the .htaccess file, I rebooted the AWS Lightsail instance, the WP-Config.php file only has these lines of code
<?php
//Begin Really Simple SSL session cookie settings
@ini_set('session.cookie_httponly', true);
@ini_set('session.cookie_secure', true);
@ini_set('session.use_only_cookies', true);
//END Really Simple SSL
// Added by Hummingbird
/**
* The base configuration for WordPress
*
* The wp-config.php creation script uses this file during the installation.
* You don't have to use the web site, you can copy this file to "wp-config.php"
* and fill in the values.
*
* This file contains the following configurations:
*
* * MySQL settings
* * Secret keys
* * Database table prefix
* * ABSPATH
*
* @link https://wordpress.org/support/article/editing-wp-config-php/
*
ese Lawrence is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.