change path in wpstg_staging_sites
-
After creating a staging site, I tried to rename the path from ‘site-staging’ to ‘site-dev’ in wp_options for the ‘wpstg_staging_sites’ value. I changed this in 4 places, but when I do this, the staging site vanishes from your plugin’s list of “staging sites”
a:1:{i:1726879511105;a:29:{s:9:"cloneName";s:11:"site-staging";s:13:"directoryName";s:11:"site-staging";s:4:"path";s:31:"/var/www/wordpress/site-staging/";s:3:"url";s:40:"https://website.com/site-staging";s:6:"number";i:1;s:7:"version";s:5:"3.8.5";s:6:"status";s:8:"finished";s:6:"prefix";s:7:"wpstg0_";s:8:"datetime";i:1726879639;s:12:"databaseUser";s:0:"";s:16:"databasePassword";s:0:"";s:16:"databaseDatabase";s:0:"";s:14:"databaseServer";
... etc ...
;}}The staging site still works fine in the location it was created in but no longer shows up in your plugin settings, and if I change these values back, they work ok.
How would I go about changing the data reference to the physical path I wanted without recreating everything?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.