User Tools

Site Tools


internet:hosting:wordpress

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
internet:hosting:wordpress [2019/05/02 12:01]
gcooper
internet:hosting:wordpress [2023/06/08 13:57] (current)
gcooper
Line 1: Line 1:
 ====== Wordpress Notes ====== ====== Wordpress Notes ======
 +
 +**All in One Migration Tool**: https://wordpress.org/plugins/all-in-one-wp-migration/
 +
 +**Elementor Site Builder**: https://www.youtube.com/watch?v=Tkrhpy3RIX0
 +
 +**Images**: https://unsplash.com/
  
 ===== Virtualmin ===== ===== Virtualmin =====
Line 22: Line 28:
  
 https://www.wpbeginner.com/beginners-guide/how-to-add-titles-in-wordpress-menu-without-linking-to-a-page/ https://www.wpbeginner.com/beginners-guide/how-to-add-titles-in-wordpress-menu-without-linking-to-a-page/
 +
 +===== Troubleshooting =====
 +
 +**Troubleshooting - CLI**: https://wpengine.com/support/troubleshoot-ssh-gateway/
 +
 +**Troubleshooting - Wordpress** https://wpengine.com/support/troubleshoot-WordPress/
 +
 +==== Create Admin User ====
 +
 +https://www.wpbeginner.com/wp-tutorials/how-to-add-an-admin-user-to-the-wordpress-database-via-mysql/
 +
 +https://www.wpbeginner.com/beginners-guide/how-to-change-the-wordpress-admin-email/
 +
 +:!: These commands create an admin user with ID 1 in the ''mydatabase'' database...modify (first line) as needed.
 +
 +<file>
 +INSERT INTO `mydatabase`.`wp_users` (`ID`, `user_login`, `user_pass`, `user_nicename`, `user_email`, `user_url`, `user_registered`, `user_activation_key`, `user_status`, `display_name`) VALUES ('1', 'myusername', MD5('mypasssword'), 'Full Name', 'my@email.address', 'http://my.url', '2023-05-30 00:00:00', '', '0', 'Full Name');
 +INSERT INTO `mydatabase`.`wp_usermeta` (`umeta_id`, `user_id`, `meta_key`, `meta_value`) VALUES (NULL, '1', 'wp_capabilities', 'a:1:{s:13:"administrator";s:1:"1";}');
 +INSERT INTO `mydatabase`.`wp_usermeta` (`umeta_id`, `user_id`, `meta_key`, `meta_value`) VALUES (NULL, '1', 'wp_user_level', '10');
 +</file>
 +
 +==== Database Import ====
 +
 +https://www.inmotionhosting.com/support/edu/wordpress/migrate-wordpress-site-from-wp-engine/
 +
 +<file>
 +cd database/location/
 +mysql -u dbusername -p dbname < ./mysql.sql
 +</file>
 +
 +==== Reset File and Folder Permissions ====
 +
 +<file>
 +chown username:username -R *            # Set website user as the owner
 +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--
 +</file>
 +
 +==== Purge Cache ====
 +
 +If you have caching enabled:
 +
 +https://www.wpbeginner.com/beginners-guide/how-to-clear-your-cache-in-wordpress/
 +
 +https://wpengine.com/support/cache
 +
 +==== White Screen of Death ====
 +
 +https://wpengine.com/support/how-to-fix-the-white-screen-of-death-wsod-in-wordpress/
internet/hosting/wordpress.1556820085.txt.gz · Last modified: 2019/05/02 12:01 by gcooper