non admin access | WordPress.org

Moderator
James Huff

(@macmanx)

Volunteer Moderator

Try downloading WordPress again, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), and delete then replace your copies of everything on the server except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings.

Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

Thanks James.

My hosting provider has replaced wp-admin and wp-includes diectories as well as wp-login. but we still do not have access to the dashboard. do we need to change as well the other files that are in the main directory of WordPress:

Moderator
James Huff

(@macmanx)

Volunteer Moderator

Yes, please delete then replace your copies of everything on the server except the wp-config.php file and the /wp-content/ directory with fresh copies from the download.

Thanks James,
we got the site back. The issue is resolved.



Source link