Setting a WordPress Site Live

Setting a WordPress Site Live

  1. Check domain DNS and nameservers are pointing to the server you are going to use
  2. Ensure checklist is completed, with second check. Download old site files as a backup if possible.
  3. Log on to your dev cpanel, and start downloading site files (compress folder, tar.gz).
  4. Install and activate Search & Replace plugin on dev site. It will ask you to download a backup of the SQL database – Do this and upload it to OneDrive.
  5. Next tab, insert the domains to search and replace. Select all tables. Export SQL file with changes, with GZIP compression, and download this file – save this in OneDrive also.
  6. Go to server you wish to use. Account functions > Create new account. Fill out details and log in keepass.
  7. Go to new site entry through Account info > List accounts.
  8. Go to MySQL
  9. Create new database and new user
  10. Add user to DB with all permissions
  11. Upload new DB downloaded from search and replace to PHP MyAdmin
  12. Go to new site file manager, public_html. Upload the tar.gz file of dev files, extract once complete.
  13. Click settings, tick Show Hidden Files (dotfiles)
  14. Find .htaccess, right click and edit.
  15. Change the WordPress section to:

# BEGIN WordPress
# The directives (lines) between “BEGIN WordPress” and “END WordPress” are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

  1. Save changes, close.
  2. Find wp-config.php, right click, edit.
  3. Add new Database, Database User and Password to wp-config.php in the following fields:

/** The name of the database for WordPress */

define(‘DB_NAME’, ‘DATABASE_NAME_HERE‘);

/** MySQL database username */

define(‘DB_USER’, ‘DATABASE_USERNAME_HERE‘);

/** MySQL database password */

define(‘DB_PASSWORD’, ‘DATABASE_PASSWORD_HERE‘);

  1. Go to live site URL and check site is fully working

Related Articles