Support » Plugins » [Plugin: Hot Linked Image Cacher] Careful On The UPGRADE Here Is A Clue

  • hey so if you use hot linked image cacher and you are about to update be careful.

    This version moves the cache directory which is good because it no longer uses the URL of the site where you snagged the image…. HOWEVER!

    when you install the plugin it wipes out all your previous cached images.

    It also uses a random number for your images like 129541094323.jpg which is ok…

    TO DO
    MAKE SURE YOU BACKUP YOUR IMAGE FILES BEFORE YOU UPDATE

    I have 2 domains so this worked for me….

    SiteA needs Updating Backup those Images and put them on site2 in the same directory structure as was on siteA

    so now your url is
    http://www.siteA.com/wp/content/plugin/linkedimage/uploads/siteyoustoleitfrom/image.jpg

    copy everything to

    http://www.site2.com/wp/content/plugin/linkedimage/uploads/siteyoustoleitfrom/image.jpg

    (NOT AN ACCURATE STRING VIEW YOUR IMAGE URLS FOR THE RIGHT LOCATION)
    OK????
    same structure

    NOW with your favorite MySQl manager I use Windows MySql Admin it is very simple….

    Do a search Replace on SiteA.com’s post table
    (NOT AN ACCURATE STRING VIEW YOUR IMAGE URLS FOR THE RIGHT LOCATION)

    Search for
    http://www.siteA.com/wp/content/plugin/linkedimage/uploads/

    Replace with
    http://www.site2.com/wp/content/plugin/linkedimage/uploads/

    This will change the text in your Post Files for your image links to look to your other domain.
    USE A SUBDOMAIN if you have to on your cpanel site just create the same directory structure on site2 you do not need WP installed on Site2

    NOW AND ONLY NOW
    AFTER BACKING UP YOUR DB AND IMAGES

    Upgrade Hot Linked Image Cacher

    Run it and it will get about 97% of your images that are now on Site2 and cache them on SiteA your main site.

    After that you will have to go into Post Edit in WordPress search for hot-linked or search for site2.com and you will find posts that choked.

    fix them if you can.

    I did a site with 1500+ images took about 3 hours but I worked out the details on a smaller site only 30 or so images before i did this….

    BE CAREFUL and BACKUP BEFORE YOU UPDATE!

    Use this info at your own risk

    PS thanks for the Plugin it is useful for me because I cache images from a site I have legal access to but the Images change so often their URLS can not be counted on … this keeps my site looking error free… thanks again for the update too…

    http://wordpress.org/extend/plugins/hot-linked-image-cacher/

Viewing 1 replies (of 1 total)
  • Try Cache Images which adds images to WordPress media library and default upload directory, and uses original file names. None of previously cached images is deleted on second or above run.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Hot Linked Image Cacher] Careful On The UPGRADE Here Is A Clue’ is closed to new replies.