If I go to http://my_domain.com/wp-admin, it should show me the WP admin console login screen, but instead, I’m getting a list of the files and folders in the wp-admin/ folder.
I haven’t made any changes to the site in a few weeks, and the last thing I did was update my plugins, themes, etc. So I’m thinking that one of those broke things, but I can’t figure out how to fix it. I know I have the right URL because it’s bookmarked.
I removed all plugins by connecting via FTP and renaming the wp-content/plugins folder to wp-content/plugins_old, but that didn’t help.
I removed all the themes and restored the default 2021 theme, no change.
I checked the error_log and there’s nothing from today.
I edited the wp-config.php file and added these lines:
define( ‘WP_DEBUG’, true );
define( ‘WP_DEBUG_LOG’, true );
I refreshed the browser, but I can’t find the wp-content/debug.log file that I would expect to see.
I don’t know what else to look for or try. Any thoughts?
[ad_2]
Does the frontend work?
First, reinstall WordPress. Download that by downloading it from WordPress.org and uploading it to your server.
Who is your host? Have you contacted them?
Hi friend, Have you already checked the .htaccess file? Did you check that it was not Directory Listing from here?
Greetz