Posts

Showing posts from January, 2019

Backup your Wordpress Database!!!

By default, mysqldump writes information as SQL statements to the standard output. You can save the output in a file: shell> mysqldump [ arguments ] > file_name To dump all databases, invoke mysqldump with the --all-databases option: shell> mysqldump --all-databases > dump . sql To dump only specific databases, name them on the command line and use the --databases option: shell> mysqldump --databases db1 db2 db3 > dump . sql     To reload a dump file written by mysqldump that consists of SQL statements, use it as input to the mysql client. If the dump file was created by mysqldump with the --all-databases or --databases option, it contains CREATE DATABASE and USE statements and it is not necessary to specify a default database into which to load the data: shell> mysql < dump ...

Best Wordpress Plugins needed and must have!

UpdraftPlus - Backup/Restore This is the first plugin that you need to install is UpdraftPlus. Why? Backup all your hard work to make sure you don't have to do it over.

Wordpress Site Move

UPDATE wp_options SET option_value = replace(option_value, 'http://www.oldurl', 'http://www.newurl') WHERE option_name = 'home' OR option_name = 'siteurl'; UPDATE wp_posts SET guid = replace(guid, 'http://www.oldurl','http://www.newurl'); UPDATE wp_posts SET post_content = replace(post_content, 'http://www.oldurl', 'http://www.newurl'); UPDATE wp_postmeta SET meta_value = replace(meta_value,'http://www.oldurl','http://www.newurl');