403 for blogs folder caused by Disable Directory Browsing
-
Hello,
Since I started using this plugin i have been getting a 403 error for my blogs folder
for Google crawls and can see the same error using Screaming Frog SEO spider.After some investigation i found that the root cause is the following setting in the .htaccess file.
Options -Indexes
and could see the problem in the log file of my website
[Sun May 21 09:51:11 2017] [error] [client 109.77.232.190] Directory index forbidden by Options directive: /var/www/vhosts/74/684389/webspace/siteapps/WordPress-107280/htdocs/blogs/, referer: https://conorfi.com/
This setting is due to the fact i have selected to Disable Directory Browsing.
(Disable Directory Browsing – Security > Settings > System Tweaks > Directory Browsing)The description of this change is “Prevents users from seeing a list of files in a directory when no index file is present”
I understand that in principle it is a good security practice to prevent browsing of directories but what do users do when a folder they want a folder such as ‘blogs’ to be made accessible?
I have tried several workarounds without success
- The topic ‘403 for blogs folder caused by Disable Directory Browsing’ is closed to new replies.