This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rsync -azP [email protected]:~/sites/dev.inhomeok.com/wp-content/uploads . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ~/sites/staging.inhomeok.com/ | |
pagely sync /data/s240102/dom11930/dom11930 /data/s240102/dom11931/dom11931 | |
wp search-replace --url=production.inhomeok.com 'production.inhomeok.com' 'staging.inhomeok.com' --network | |
wp plugin deactivate --network domain-mapping |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT * FROM `wp_usermeta` LEFT JOIN `wp_users` ON `wp_usermeta`.`user_id` = `wp_users`.`ID` WHERE `meta_key` = 'wp_capabilities' AND `meta_value` LIKE '%administrator%' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. ssh to singapore-inhomeglobal.pagelydev.com | |
2. navigate to target site (e.g. test.inhomeok.com) | |
3. command: wp duplicate site <NewSiteName> --url=<source tenant site >(e.g. s13008.p240.sites.pressdns.com/example --admin='<AdminEmail>' --blogname='<New Site Name>' | |
Example: wp duplicate site inhomeportal --url=dev.inhomeok.com/freedom --admin='[email protected]' --blogname='inHomePortal' | |
4. Copy and execute the command displayed to clone the data as well. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@-webkit-keyframes blink_f { | |
0% { | |
opacity: 1.0 | |
} | |
7% { | |
opacity: 0.4 | |
} | |
14% { | |
opacity: 1.0 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DELETE FROM `wp_options` WHERE option_name IN ( | |
'userpro_activity', | |
'wpmandrill-stats', | |
'_transient_RCWFeed_Ms_b22d9dad80577a8e66a230777d91cc6e', | |
'userpro_cached_results', | |
'userpro_fields_groups_default', | |
'userpro_fields_groups', | |
'era_googleFonts', | |
'suppamenu_skin_redow', | |
'suppamenu_skin_ubuntus', |