Forbidden 403 error fix?

[ad_1]

I was editing my site and got this error. I can’t access the backend of my site at all. I tried deleting the .htacess file, deactivating plug-ins, changing permissions through FTP, using a different web browser, clearing my browser cache, using incognito mode, nothing works. I even tried loading my previous backups and still get this error. Does anyone know how to fix this or is my site corrupted beyond repair?

[ad_2]
5 Comments
  1. This is a hosting issue. If this is a local install – you need to fix mamp/lamp/xamp or whatever you’re using.

    If it’s hosted, you need to fix maybe file permissions, or domain pointing, security settings, firewall… contact your host.

  2. Upload a basic html file into your root directory. Are you able to bring it up in browser? If not then this is a server error, not WP.

  3. You should never delete your htaccess file, make a backup before modifying.

    Check your server logs for the error, it’ll tell you why it was forbidden and go from there.

  4. Likelihood is, your public html folder has the wrong permissions. Restore your files to what they were and check file permissions in CPanel/plex for 0644 (files) or 0755 (folders). These basically determine who can read, write or edit a file. Sometimes, you’ll make some changes and somehow a folder or file changes to 0555 or 0444 and then nothing works.

  5. I had this problem before and I barely fixed it. How I could fix it?

    * Run PuTTY
    * Enter this exact code : < sudo nano /etc/apache2/apache2.conf
    * You may find : AllowOveride **None**
    * Then you should make it: AllowOverride **All**

    After you replaced All with None.

    Enter the following exact codes:

    * Sudo a2enmod rewrite
    * sudo systemctl restart apache2

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer