My site runs great on Cloudflare, superfast, however i noticed that when checking it on google cache, all images, (jpeg, png, etc) all appear broken - not a huge deal but was wondering if it can be fixed.
Additionally, I have hotlink protection on my .htaccess and i don’t think i configured anything particular for Google’s crawler etc. it crawls the site very fast when i publish something new, nothing weird in robots.
Here we were discussing Google not updating my favicon, another user posted the full url to the favicon from my site (which works 100%) but when you click on it from google forum you get this:
That is the hotlink protection right? But is that due to my .htaccess + cloudflare or cloudflare alone only? And is it the same reason for which Google cache images appear all broken yes?
Site ranks well in Google and everything but would be cool to see the proper images on Google cache as well.
Hotlink protection will not allow Googlebot to fetch your images because it will only allow requests with a referrer from your site (which Googlebot does not include.)
No. If hotlink protection blocks an image, .htaccess is never involved, as the request is not passed on to your origin server.
That’s right.
You could try turning off Hotlink Protection, and crafting your own WAF Custom Rule to block requests to images that are not from Known Bots and do not carry a referrer from your own website.
And i just commented out all hotlink lines in the .htaccess + CF on development mode (bypass) - which then tells me it’s something to do with the server conf or direct linking elsewhere, perhaps the httpd.conf