• Resolved doggieboat

    (@doggieboat)


    Things seem to be going from bad to worse on my MailChimp!

    Everything was fine until I suddenly started getting “Image has been Hotlinked” replacing some of my product images. Researching this led me to adding this code to my Apache Directives on the server:

    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?doggieboat.co.uk [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?google.com [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?bing.com [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?yahoo.com [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?facebook.com [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?twitter.com [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?instagram.com [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?mailchimp.com [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?buffer.com [NC]
    RewriteRule \.(jpg|jpeg|png|gif|svg)$ https://www.doggieboat.co.uk/wpt-hotlinked-image-stub.png [NC,R,L]

    At first, this didn’t seem to make any difference. However, now all I have is broken image links in MailChimp. I’m not sure if the above is the cause or not. Whichever, it is very frustrating.

    Any help would be appreciated!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Jordan Rich

    (@builtbyjordan)

    @doggieboat Hey, Just letting you know that we’ve seen this post and we’re looking into it. I’ll definitely update this thread as soon as I know more.

    Thread Starter doggieboat

    (@doggieboat)

    Thanks Jordan –

    Just to update you: I have removed all that code from my Apache Directives. Now, instead of broken links, I have “Stop! Image has been hotlinked” on ALL but the most recent of product images. However, if I link to an image in, say, Buffer, then I don’t have this problem.

    I don’t understand why MailChimp should think these images have been hotlinked – or, indeed, how it gets this idea!

    Plugin Author ryanhungate

    (@ryanhungate)

    @doggieboat have you tried using the rewrite condition from the top level domain (mailchimp.com) instead of the www? That could be the issue after looking at your rewrite rules – but this isn’t something we typically do so it’s just a guess ??

    Plugin Support khungate

    (@khungate)

    Hi @doggieboat we’re going to close out this ticket for now since it’s been a few weeks since we’ve been in touch.

    Please let us know if you still need any help and we’ll be glad to reopen and troubleshoot further. Please note, the best way to reach us is over at the GitHub plugin page: https://github.com/mailchimp/mc-woocommerce/. From there, you can receive direct responses from the development team, log new issues, download the latest version, and track existing support tickets.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Product Images Missing’ is closed to new replies.