Skip to main content

Security #1

By 13/05/2024No Comments1 min read

How to hide WP folders from public access?

Add the following line of code to the .htaccess file in your website root:

Options -Indexes

This will prevent directory listing across the website.


With my passion for development, I am committed to sharing knowledge, projects, and insights with the community. Join me on this journey through the realm of the web, where each new discovery propels us towards a brighter future.

Leave a Reply