Change domain name of a WordPress site

1. Change the Domain in WordPress

In /wp-admin/
Settings > General
Change both field both there

2. Update the wp-config.php

define('WP_HOME','http://yoursitename.com');
define('WP_SITEURL','http://yoursitename.com');

3. Update Database

Using phpMyAdmin. Find wp_options, edit.

CISSP CISM PMP