403 forbidden: permission to access images 403 forbidden: permission to access images wordpress wordpress

403 forbidden: permission to access images


you should check file permissions for /v2/wp-content/themes/default/images/contact-yellow-icon.png

i think they should be 644 so that all can read that file

or you can check file permissions of /v2/wp-content/themes/default/images/contact-innovation-logo.png

you can change permissions with ftp manager or with shell

** updated by Eric Leroyif file permissions 644 does not work, change to 755 that is what I used to fix the issue. If you are not familiar on how to do this on *inx based, and mac systems, here is how:Open terminal and navigate to the parent folder of the images.type sudo chmod -R 775 (then type the name of your images folder after 775 )it will ask you for your password, then your images will work on your website.


This can also be caused by using hotlinking protection. So if hotlinking protection is used, make sure that the URL for your website is added to the white list. Also keep in mind that www.yourdomain.com and yourdomain.com are considered two different URLs.


The question may have been solved for the original user, but I found no amount changing permissions or disabling hotlinking (was already disabled) was working for me.

For me the files not working were php files in the themes CSS and JavaScript directories.

I found that for me the problem was a .htaccess file that WordPress created for a LOCKDOWN to prevent malicious code injections. Adding rules to allow these files allowed them to work.