• Resolved TheRVgeeks

    (@thervgeeks)


    Hi!

    I got Dreamspeed setup on my site (using a custom URL), then took a backup (BackupBuddy) and set it up on my local install (MAMP Stack). I want to disable the DreamSpeed CDN on this local install, but don’t have WP-CLI installed to run the wp-replace command. Do you know of an alternative method?

    I tried using PHPMyAdmin to do a SQL search & replace for the string “cdn.thervgeeks.com/wp-content/uploads”, and that ran… but the site is still loading images from the CDN (src urls start with “https://i0.wp.com/cdn.thervgeeks.com/wp-content/uploads”).

    Is there something I’m missing?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    I would use https://interconnectit.com/products/search-and-replace-for-wordpress-databases/ for a better search and replace.

    Though I also recommend using Local by Flywheel instead of MAMP for WP local sites, since it comes with wp-cli and easily lets you change PHP versions 🙂

    Thread Starter TheRVgeeks

    (@thervgeeks)

    Thanks, Mika. Those both look great… actually downloaded & setup Local by Flywheel and I’m liking it so far.

    One thing that’s weird, though… I’ve deactivated AND removed both the DreamSpeed and DreamObjects plugins in my local install. I’ve use the “Search and Replace” plugin to look for instances of “cdn.thervgeeks.com” and replaced them with my local dev URL. But when I view the local site, the images aren’t showing… and references to the images are still using img tags that look like this:

    <img src="https://i1.wp.com/thervgeeks.dev/wp-content/uploads/2017/02/icicles.jpg?resize=500%2C392" alt="" class="alignright size-medium wp-image-5648" srcset="https://i1.wp.com/thervgeeks.dev/wp-content/uploads/2017/02/icicles.jpg?resize=800%2C628 800w, https://i1.wp.com/thervgeeks.dev/wp-content/uploads/2017/02/icicles.jpg?resize=768%2C603 768w, https://i1.wp.com/thervgeeks.dev/wp-content/uploads/2017/02/icicles.jpg?resize=600%2C471 600w, https://i1.wp.com/thervgeeks.dev/wp-content/uploads/2017/02/icicles.jpg?resize=100%2C78 100w, https://i1.wp.com/thervgeeks.dev/wp-content/uploads/2017/02/icicles.jpg?resize=258%2C202 258w, https://i1.wp.com/thervgeeks.dev/wp-content/uploads/2017/02/icicles.jpg?resize=612%2C480 612w, https://i1.wp.com/thervgeeks.dev/wp-content/uploads/2017/02/icicles.jpg?w=2208 2208w, https://i1.wp.com/thervgeeks.dev/wp-content/uploads/2017/02/icicles.jpg?w=3312 3312w" sizes="(max-width: 500px) 100vw, 500px" width="20" height="27">

    So it’s as if something is still triggering things to look for images on the DreamSpeed CDN… instead of just local.

    Odd… right? Or am I missing something?

    • This reply was modified 7 years ago by TheRVgeeks.
    Thread Starter TheRVgeeks

    (@thervgeeks)

    DOH! I think I figured it out… I had JetPack Photon enabled… so even though I had run the search & replace to change the links in the database, Photon was continuing to serve the files from the CDN. Disabling Photon… and VOILA! The images work again.

    Thought you’d want to know in case anyone ever has the same problem!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can’t disable DreamSpeed on local copy of site’ is closed to new replies.