• Hi everyone, on my website, in the administration panel, I can no longer access any section as I receive the 403 “access denied” error message.

    I transferred the site locally with xampp and the problem remains.

    I have tried disabling all plugins without success.

    The front end works fine.

    The dashboard also doesn’t seem to load CSS.

    The 403 error is only returned for backend areas related to all WordPress components, such as adding pages/posts, settings, media, etc. While for the plugin configuration pages, I can log in but the CSS is not loaded.

    I tried these tests:
    – created a new user with admin privileges, directly from the database
    – deactivated all plugins by renaming the directory
    – changed theme by installing a default WordPress theme

    The problem arose after installing Wordfence, it was probably a coincidence but no other changes were made.

    How can I fix?
    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator t-p

    (@t-p)

    Thread Starter developress

    (@smanimania)

    Already read, without solution. I followed all the guides that google shows. I trust this forum 😉

    Hi,@smanimania

    There are a few steps you can take to troubleshoot the 403 error you are experiencing on your WordPress site.

    First, check your .htaccess file. The .htaccess file may be causing the error. Try renaming the .htaccess file to something like .htaccess_old and then refreshing your site to see if the error is resolved. If it is, you can try creating a new .htaccess file by going to Settings > Permalinks and clicking the Save Changes button.

    Secondly, check the file and folder permissions. Incorrect file and folder permissions can also cause a 403 error. Make sure that all your WordPress files and folders have the correct permissions. The recommended permissions for WordPress files and folders are Directories: 755 and Files: 644. You can check and change your file and folder permissions using an FTP client or through your hosting control panel.

    Third, check for security plugins. If you have installed any security plugins on your site, try deactivating them and see if the error is resolved. If it is, you can try reactivating the plugins one by one to identify the cause of the error.

    Fourth, check for plugin conflicts. If you have recently installed any new plugins, try deactivating them and see if the error is resolved. If it is, you can try reactivating the plugins one by one to identify the cause of the error.

    Finally, check for theme conflicts. If you have recently installed a new theme on your site, try switching to a default WordPress theme and see if the error is resolved. If it is, you can try activating your original article again and see if the error reappears.

    Thread Starter developress

    (@smanimania)

    Hi, thank you for the reply. As I wrote, I just do it and follow the steps.
    With:
    – all plugins deactiveted
    – and WordPress default theme
    – setting correct permissione to directories and files.

    I see 403 error.
    Thank you

    • This reply was modified 1 year, 4 months ago by developress.
    Moderator t-p

    (@t-p)

    – Check your .htaccess file: Web hosts / security sometimes may edit your .htaccess file to add some code to prevent brute force attacks. This is usually a good practice to prevent intrusion, and protect your site from such attacks. However, the side effect of this is that it even restricts the legitimate user (you) from logging-in to WordPress. That’s why, check your .htaccess file
    – Disable Security Plugin: If you are using any security plugin and facing this problem, then disable it right now. Reason? Because security plugins have some features like deny brute force, IP whitelist, etc and sometimes they lock down the login area if anything suspicious occurs. To disable such security plugin, login to your cPanel, go to File Manager and rename the plugin’s folder, or use a FTP client to do the same. Now go ahead and try to login to your WordPress again.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Dashboard in error 403 – Access denied’ is closed to new replies.