I tried to send my staging site to the live URL but the live site shows no change.
I used WPstaging plugin (free version) to make the staging site.
30 mins ago, when manually trying to push it live, I did the following:
1. Copied the Plugins, Themes & Uploads folders from staging to live in Cpanel File Manager.
2. Exported the live database as an SQL file via PHPmyadmin
3. Find-and-replaced all instances of “corehealthcollective.com.au/staging” with “corehealthcollective.com.au”
4. Saved the file without changing the name or type
5. Imported it back into PHPmyadmin
The live site shows no changes front end. Back end, it has the staging plugins and theme installed but the theme is not in use. No staging imagery shows up in the media library despite it being visible in live site’s Uploads folder in Cpanel.
I cleared the cache in WordPress backend and my browsers but the live site doesn’t reflect any changes.
What have I missed?
]]>Most probably you have uploaded files in wrong directory. First of all upload a test HTML file (suppose test.html) with some text to server and run it in browser to check whether you have uploaded your staging server’s files to correct place or not.
if test file runs properly take entire files into a backup directory and upload fresh copy of files from staging to live server, import fresh database into live phpMyadmin also do not change URLs manually Find-and-replaced method just import database into phpMyadmin and go to wp_option (here wp is prefix it can be changed to your database) table update “siteurl” and “home” field values to your new URL then login to Admin panel and use this plugin to change URL https://www.ads-software.com/plugins/velvet-blues-update-urls/.
hope it will help you.
Thanks
]]>I fixed the issue – turns out I did step 3 in my original post wrong and needed to tell it to use the staging database instead. I’ve fixed this and done some other things and now the live site is as it should be!
Thank you for your reply though, Minerva. ??
]]>