I donât want users to browse and get access to unwanted/other data. So, I want to hide the files from the users. Any idea?
Leave a Reply
You must be logged in to post a comment.
I donât want users to browse and get access to unwanted/other data. So, I want to hide the files from the users. Any idea?
You must be logged in to post a comment.
That path needs to be exposed for people to view your site.
You could put a blank index.html file in the wp-content directory, but it’s not going to change the fact that this directory needs to be accessible for your site to display.
This will provide all you need to know on how to secure /wp-content and harden a WordPress installation. https://wordpress.org/support/topic/how-the-hell-do-i-secure-wp-includes-and-wp-content