Forbidden
You don’t have permission to access /wp-content/uploads/2014/01/broadcastscreenshot-300×244.jpg on this server.
You have a permissions issue on your site. Check that anti-hotlinking isn’t enabled in your hosting account. If it is, try disabling it.
But all other images ARE displaying correctly – would this still suggest its an anti-hotlinking issue?
Impossible to determine from here. All I can say for sure is that it is a permissions issue.
Please check the .htaccess file on the root and check if following code (similar to this) is in it:
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?mydomain\.com [NC]
RewriteRule \.(gif|jpe?g|png)$ - [F,NC,L]
This would suggest that hotlinking IS allowed, as would the fact that the other images are working:
(Odd, URL not displaying)
“Hotlinking”
(also called “hot linking”, “leeching”, and “bandwidth theft”) is when a web page of one website owner is direct linking to the images or other multimedia files on the web host of another website owner (usually without permission, thus stealing bandwidth).
When you have created an image or a multimedia file you usually want to protect it and control the use of it. You may not want people downloading your files and putting them on their own websites with little or no credit to yourself. Hotlinking is when other people use your files directly from your site, meaning that each time the file is viewed through their site, you lose bandwidth. This means that you could end up paying for the bandwidth.
For all 123-reg.co.uk hosting customers there is an easy solution. We have the Rewrite Engine activated, which you can set up to analyse any incoming requests for files and deal with them appropriately.
Using this facility is very easy. You simply need to create an .htaccess file, then add the following code:
Hardeep, this is what it currently reads:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
# compress text, HTML, JavaScript, CSS, and XML
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
# remove browser bugs
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
Header append Vary User-Agent
## EXPIRES CACHING ##
ExpiresActive On
ExpiresByType image/jpg "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType text/css "access plus 1 month"
ExpiresByType application/pdf "access plus 1 month"
ExpiresByType text/x-javascript "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
ExpiresByType image/x-icon "access plus 1 year"
ExpiresDefault "access plus 2 days"
## EXPIRES CACHING ##
Should I add your code?
To debug this particular problem that a few people seem to be experiencing, I wrote a small WordPress plugin. It won’t change permissions on your site, it just shows the read/write permissions of your uploads directory tree and highlights any issues.
It’s on GitHub here:
https://github.com/WPRanger/wp-upload-permissions
Try WPRanger’s plugin, if it’s not working then try to re-upload the image with this plugin: http://wordpress.org/plugins/enable-media-replace/%E2%80%8E
Re-do your .htaccess file so that the WordPress block is at the end of the file.
WPRanger – Ive installed the plugin, how do I look at the results? Sorry…like I said…NOOB!
Look in your Dashboard. Media Menu. Menu Item: Upload Permissions.
Found it, thanks. So, all folders show write and read permissions with ticks. The only slightly odd thing is that Januarys and Decembers folders have a permissions code of 744, all of the others (that work) are 755. Should I change these?
Hmm, tried that, but nothing…do I need to give it any time?