Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author John Godley

    (@johnny5)

    Thread Starter ccolotti

    (@ccolotti)

    I actually did export it as .htaccess and it’s still not re-writing the image 🙁

    # Created by Redirection
    # Wed, 13 Dec 2023 21:21:30 +0000
    # Redirection 5.3.10 - https://redirection.me
    
    <IfModule mod_rewrite.c>
    RewriteRule ^wp-content/uploads//wc-square-gift-card-placeholder-324x324\.png/?$ /wp-content/uploads/2023/12/Woo_GC-768x768.png [R=301,L,NC]
    </IfModule>
    Plugin Author John Godley

    (@johnny5)

    You have a double slash in the URL, your site is heavily cached, and the file still exists.

    Thread Starter ccolotti

    (@ccolotti)

    oddly the double slash is how the Square plugin for woocommerce is rendering it on the shop page. I noticed that and it is the only URL on the shop page like that.

    Thread Starter ccolotti

    (@ccolotti)

    I even disabled all caching (breeze, cloudflare, etc) it’s like the plugin is forcing those images no matter what I do. arrghhh so silly and ugly.

    Thread Starter ccolotti

    (@ccolotti)

    Looks like if I use Cloudflare rewrite rules it can work the way I want it too..

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Re-write/redirect image’ is closed to new replies.