This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
internet:hosting:wordpress [2023/06/08 12:26] gcooper |
internet:hosting:wordpress [2023/06/08 13:57] (current) gcooper |
||
---|---|---|---|
Line 41: | Line 41: | ||
https:// | https:// | ||
- | :!: These commands create an admin user with ID 1 in the '' | + | :!: These commands create an admin user with ID 1 in the '' |
< | < | ||
- | INSERT INTO `mocais`.`wp_users` (`ID`, `user_login`, | + | INSERT INTO `mydatabase`.`wp_users` (`ID`, `user_login`, |
- | INSERT INTO `mocais`.`wp_usermeta` (`umeta_id`, | + | INSERT INTO `mydatabase`.`wp_usermeta` (`umeta_id`, |
- | INSERT INTO `mocais`.`wp_usermeta` (`umeta_id`, | + | INSERT INTO `mydatabase`.`wp_usermeta` (`umeta_id`, |
</ | </ | ||
Line 54: | Line 54: | ||
< | < | ||
- | cd wp-content/ | + | cd database/ |
- | mysql -u moca-tucson | + | mysql -u dbusername |
</ | </ | ||
Line 61: | Line 61: | ||
< | < | ||
- | chown moca-tucson:moca-tucson | + | chown username:username |
find . -type d -exec chmod 775 {} \; # Change folder permissions to rwxrwxr-x | find . -type d -exec chmod 775 {} \; # Change folder permissions to rwxrwxr-x | ||
find . -type f -exec chmod 664 {} \; # Change file permissions to rw-rw--r-- | find . -type f -exec chmod 664 {} \; # Change file permissions to rw-rw--r-- | ||
</ | </ | ||
+ | ==== Purge Cache ==== | ||
+ | |||
+ | If you have caching enabled: | ||
+ | |||
+ | https:// | ||
+ | |||
+ | https:// | ||
+ | |||
+ | ==== White Screen of Death ==== | ||
+ | |||
+ | https:// |