• Techblog369, India
  • September 29, 2022

How to create PHP QR code and Save it to Database?

Hi In this Article I am going to show how to create QR code and save it to database also fetch QR Code in a Table Create a Page addqrcode.php in …

How to Send Multiple Files Attachment Mail using Laravel

Hi in this article i am going to show how to send multiple files attachment mail in Laravel. It’s simple example of Laravel send multiple attachment in mail. I explained simply …

HI in this article I will be shown how to access the WordPress Uploads folder without and password and how to prevent this access

In this case, I will apply my own website

if your website has vulnerable it should look like below

Simply type website URL and then /wp-content-uploads

You can see all the files and folders. Now we will deny accessing this folder using .htaccess

First, you have to go to your Cpanel and find the .htaccess file and paste the below code

Options -Indexes

After saving the .htaccess file you should set read permission only for your htaccess file.

Whenever you modify your .htaccess file, you should always check that your website still works after uploading it. And if you don’t have Cpanel access you should backup first. Using WP File manager plugin you can get all the files.

Thanks for reading….

Author

admin@techblog369.in

4 thoughts on “How to Prevent a Directory Listing of Your WordPress Website with .htaccess

Leave a Reply

Your email address will not be published.