• Resolved Paul

    (@anandjose2000)


    When I harden contents and includes folder. I’m getting 403 error while using word press social login plugin which need following folders white-listed. I’ve copied below complete error. How can i white-list a whole directory. Plugin allows white-listing individual php files only

    Error: Your web server returned “403 Forbidden” when checking WSL end-points.

    This issue usually happen when :

    1. Your web host uses mod_security to block requests containing URLs (eg. hosts like HostGator, GoDaddy and The Planet). On this case, you should contact your provider to have WSL end-points urls white-listed.

    2. There is a .htaccess file that prevent direct access to the WordPress plugins directory.

    In any case, WSL requires this url to be white-listed:
    https://civildigital.com/wp-content/plugins/wordpress-social-login/hybridauth/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Paul,

    The plugin hardens using .htaccess rules in the wp-content directory. You can override those by adding your own .htaccess file in the hybridauth directory. This would allow access to all files:

    <Files *>
    <IfModule !mod_authz_core.c>
    Allow from all
    </IfModule>
    <IfModule mod_authz_core.c>
    Require all granted
    </IfModule>
    </Files>

    I hope that helps!

    Thanks,
    Eve

    Eve, that worked perfectly. Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Getting 403 Forbidden Error when Folders Hardned’ is closed to new replies.