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:24] 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`, |
</ | </ | ||
+ | ==== Database Import ==== | ||
+ | |||
+ | https:// | ||
+ | |||
+ | < | ||
+ | cd database/ | ||
+ | mysql -u dbusername -p dbname < ./mysql.sql | ||
+ | </ | ||
+ | |||
+ | ==== Reset File and Folder Permissions ==== | ||
+ | |||
+ | < | ||
+ | chown username: | ||
+ | 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-- | ||
+ | </ | ||
+ | |||
+ | ==== Purge Cache ==== | ||
+ | |||
+ | If you have caching enabled: | ||
+ | |||
+ | https:// | ||
+ | |||
+ | https:// | ||
+ | |||
+ | ==== White Screen of Death ==== | ||
+ | |||
+ | https:// |