Disable browsing through .htaccess

Soberam

Member
Apr 28, 2019
35
12
8
Hello everyone, I am a bit desperate. Do any of you have a (really) good script to prevent browsing the "wp-content files"?
What I have found so far and written at the very top of the .htaccess does not help.
Would rather not install a plugin for this. I don't like to slow down the loading of my website by too many plugins.

Thank you in advanced!
 

madroots

Active member
Jan 23, 2020
215
127
43
Disabling directory listing does not help? You can find it in your cpanel under apache settings or set this up on your apache config if you are hosting yourself.
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu