• First of all, I want to make it clear that I have no issues with this plugin. Everything is working as intended and I really like it a lot. I do have one question, however.

    After setting up W3 Total Cache, my images stopped being indexed by Google. That’s because the URL changed from http://www.domain.com/wp-content/uploads/2014/01/image.jpg —–> http://cdn.domain.com/wp-content/uploads/2014/01/image.jpg.

    After a ton of research, MaxCDN was able to offer some assistance. I was advised to add the following to my .htaccess file for canonical URLs:

    <FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf|webp|html)(\.gz)?(\?.*)?$">
       <IfModule mod_rewrite.c>
          RewriteEngine On
          RewriteCond %{HTTPS} !=on
          RewriteRule .* - [E=CANONICAL:http://%{HTTP_HOST}%{REQUEST_URI},NE]
          RewriteCond %{HTTPS} =on
          RewriteRule .* - [E=CANONICAL:https://%{HTTP_HOST}%{REQUEST_URI},NE]
       </IfModule>
       <IfModule mod_headers.c>
          Header set Link "<%{CANONICAL}e>; rel=\"canonical\""
       </IfModule>
    </FilesMatch>

    Well, my images still aren’t getting cached by Google Images and it’s been longer than needs to be. Does anyone have any suggestions? For what it’s worth, I’m willing to donate to the plugin author or someone who can help me figure out how to get my images cached correctly in Google again. It would mean very much to me.

    Thank you.

    http://wordpress.org/plugins/w3-total-cache/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter kmcminn

    (@kmcminn)

    Can someone, possibly even the author, please assist me with this issue? I surely can’t be the only person that has experienced this.

    I’m not really knowledgeable in this area, but I did implement this today – make sure your canonical headers are being recognized and also that you’ve cleared your cache. I was using cloudflare, so I needed to clear my cached htaccess through there. Still, none of my htaccess file is actually being recognized so I’m having to speak with my hosting about why that is. Just two issues I’ve encountered, hope something rings a bell with you and solves this! GL

    Thread Starter kmcminn

    (@kmcminn)

    Hello, Lauren!

    Thanks very much for your response. I appreciate you doing that. I knew I wasn’t the only person having this issue! 🙂

    Everything on my end appears to be set up correctly (canonical headers, dumped CDN cache, etc.), but my images still aren’t being indexed. It’s been well over a month.

    I know for a fact that Google isn’t indexing my CDN images because if I add an image from any other source, it gets indexed properly. I really have no idea. If you do happen to figure this out, please let me know. I will forever be grateful for that.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Image Indexing With A CDN’ is closed to new replies.