In this article, we will share three easy methods with their advantages & disadvantages about how to disable Directory Browsing in WordPress.
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed