How to Update Revolution slider with WP-CLI

The best way to update your URLs on our servers is with WP-CLI’s search-replace function. 

But if you have the Revolution Slider plugin activated you might’ve encountered that it breaks after a URL update. This happens because Revslider writes their URLs different than normal in their database tables. Here’s the simple solution:

wp search-replace "https:\/\/" "https:\/\/" --all-tables

Remember to add the “” around your parameters or it won’t work.