Forums

W3 Total Cache
[resolved] W3 Total Cache + Nextgen Gallery + Self-hosted CDN (2 posts)

  1. robnalexpress
    Member
    Posted 1 year ago #

    I have a multisite setup with W3TC self-hosted CDN and Nextgen gallery.

    The images on the primary site gallery are being delivered by the CDN: http://trianglehomesuccess.com/buy-a-home/

    The images on the sub-site gallery are not: http://trianglenewhome.com/homes-for-sale-or-leasepurchase/

    In the sub-site I have added wp-content/blogs.dir/7/files/gallery/* to the CDN custom file list, but these files do not upload to the CDN.

    If I delete the gallery (and all its images) and recreate it, re-uploading the images, will W3TC add these images to the CDN?

  2. robnalexpress
    Member
    Posted 1 year ago #

    RESOLVED!

    Here's what I did:

    1. Reset Nextgen (Gallery>Reset/Uninstall). This reset the gallery path for the secondary site to wp-content/blogs.dir/site ID/files/ (replace "site ID" with the actual site ID Number).

    2. Network deactivated Nextgen (this may not have been necessary).

    3. Activated Nextgen individually on the 2 sites that use it (this may not have been necessary).

    4. W3TC CDN Settings: Added the following to custom file list: wp-content/blogs.dir/site ID/files/* (replace "site ID" with the actual site ID Number. In my case is was wp-content/blogs.dir/7/files/*)

    5. Create a NEW Gallery in Nextgen (Just taking the steps above will not make W3TC upload previous gallery images).

    6. W3TC CDN: Upload custom files. You should see the files from the new gallery being uploaded).

    7. Insert new gallery into page or post.

    8. Voila!

    9. Delete previous gallery- if you wish.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic