Roni
Roni

Reputation: 70

How to secure wp-content folder?

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?

Upvotes: 2

Views: 2561

Answers (2)

kittycat
kittycat

Reputation: 15044

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

Upvotes: 0

Dawson Loudon
Dawson Loudon

Reputation: 6029

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.

Upvotes: 2

Related Questions