How to fix 403 forbidden error
In this tutorial we are going to learn about fixing 403 Forbidden error.
Fix 1 :
Check your file permission in your hosting. In my example I am going to check the file permission.
In the above screenshot the issue was due to permission 600 we need to change the permission to 777 and reload the site in your browser. It will display your image file. It is safe not to provide full permission. Each folders has its own permissions for each folders we need to set permissions like how it was given in your system.
File permissions recommended by wordpress Readmore
Fix : 2
We need to check if there is any htaccess conditions to block viewing image. For that we can take a backup of htaccess file and remove the htaccess file and directly giving the image URL in the browser. If it start display your image then you can upload htaccess backup and remove the condition prevent image to open.Buy me a coffee