Results 1 to 7 of 7
  1. #1

  2. #2
    Registered User
    Join Date
    Feb 2014
    Location
    New Delhi, India, India
    Posts
    173
    After that, you need to delete the file from your server. Try accessing your website. If 403 forbidden error is resolved, then this means that your .htaccess file was corrupt. You can generate a fresh .htaccess file by logging into your WordPress admin area and going to Settings Permalinks page.

  3. #3

  4. #4
    Registered User
    Join Date
    Sep 2017
    Posts
    6
    How to Fix the 403 Forbidden Error. Check for URL errors and make sure you're specifying an actual web page file name and extension, not just a directory.

  5. #5
    Registered User 24x7servermanag's Avatar
    Join Date
    Jul 2017
    Location
    India
    Posts
    627
    Have you checked the error logs? There are various reasons for 403 error -

    1. There can be issue with your .htaccess file.
    2. Check the mod security logs on the server.
    3. Make sure the file's and directory permission are correct.
    4. Check the PHP configuration and make sure it is compatible with your website.

    The live error logs will be helpful to resolve the issue so please go through the logs, it will help you to resolve the issue.
    Server Management Company
    India's Leading Managed Service Provider | Skype: techs24x7
    Cpanel Technical Discussions - Lets talk !

  6. #6
    Registered User
    Join Date
    Sep 2017
    Posts
    6
    Thanks For Your Information.

  7. #7
    Junior Member
    Join Date
    Oct 2017
    Posts
    11
    Check the error log, it will help you 100%. In most of the cases the problems comes from wrong permissions or owner/group rights.
    To change any permission, use:
    *For folders: chmod 755 /direcotry/file.php
    For example - chmod 755 /home/user/public_html/wrong_permission_folder
    *For files, use 644: chmod 644 /home/user/public_html/wrong_permission_file.php

    you can use these commands if you are not in the problematic file/folder location. If you are under the problematic file/folder location, just use: chmod 755 folder ; chmod 644 file.php

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

  Find Web Hosting      
  Shared Web Hosting UNIX & Linux Web Hosting Windows Web Hosting Adult Web Hosting
  ASP ASP.NET Web Hosting Reseller Web Hosting VPS Web Hosting Managed Web Hosting
  Cloud Web Hosting Dedicated Server E-commerce Web Hosting Cheap Web Hosting


Premium Partners:


Visit forums.thewebhostbiz.com: to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.