softdevsalon
Member
Hi, what to do when I decide to migrate the visiolist site? What do I need to do backup data and db. After that how or what to change in the file?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
UPDATE VL_settings SET list_url = REPLACE(list_url, 'http://old-domain.com', 'http://new-domain.com');
UPDATE VL_settings SET default_banner = REPLACE(default_banner, 'http://old-domain.com', 'http://new-domain.com');
UPDATE VL_sites SET banner_url = REPLACE(banner_url, 'http://old-domain.com', 'http://new-domain.com');
UPDATE VL_sites SET premium_banner_url = REPLACE(premium_banner_url, 'http://old-domain.com', 'http://new-domain.com');
UPDATE VL_sites SET mp4_url = REPLACE(mp4_url, 'http://old-domain.com', 'http://new-domain.com');
UPDATE VL_sites SET premium_mp4_url = REPLACE(premium_mp4_url, 'http://old-domain.com', 'http://new-domain.com');
In each replace your old domain and new domain ( take note if old domain used www. and https or not )
I would advise to run those query then also, yes. Because else you get warning like "site.com was loaded through a secure connection, but try loading a unsecure resource".
Maybe we can integrate those queries somehow into admin when someone switch from http to https and vise versa. But for now need to be done manually