1. Obtain the required access
Collect the hosting/cPanel login, WordPress administrator login, domain/DNS login, email-provider information, analytics access and form destination email.
2. Back up WordPress files and database
Files
- Open cPanel File Manager.
- Open the document root, commonly
public_html. - Select the WordPress files and folders.
- Create and download a ZIP backup.
The backup should contain wp-admin, wp-content, wp-includes, wp-config.php, index.php and the old .htaccess.
Database
- Open phpMyAdmin.
- Select the database named in
wp-config.php. - Choose Export → Quick → SQL.
- Download the SQL file.
3. Publish to staging first
Use a temporary Netlify, Vercel or Cloudflare Pages address, or a subdomain such as new.reefviewconstruction.co.nz. Review every page before changing the main domain.
4. Test the enquiry form
On Netlify, submit a test, confirm it appears under Forms and configure an email notification. On another host, connect a secure form provider or server-side processor.
5. Preserve old URLs
The project includes .htaccess for Apache/cPanel and _redirects for Netlify. Both map the existing About, Services, Portfolio, Gallery, Blog, Contact, FAQ and service URLs to the new pages.
6. Replace WordPress on the same cPanel hosting
- Schedule a short maintenance window.
- Confirm the file and database backups.
- Move the current WordPress files to a private backup folder where possible.
- Upload and extract the V2 ZIP in
public_html. - Move the contents of the extracted folder into
public_html. - Confirm
public_html/index.html,public_html/assets/andpublic_html/.htaccessexist. - Clear caches and test in an incognito browser.
index.html must be directly inside the domain's document root.7. Move to a new static host
- Approve the temporary deployment.
- Add the root domain and
www. - Record current DNS values.
- Use the exact website records shown by the host.
- Wait for verification and HTTPS.
8. Protect business email
Do not delete or change MX records while moving only the website. Keep the email provider's MX, SPF, DKIM and DMARC records and test incoming and outgoing mail.
9. Keep a rollback route
On the same host, restore the WordPress files, database and old .htaccess. On a new host, restore the previous website DNS records while the old hosting remains active.
WordPress alternative
To keep dashboard editing, recreate the approved design on a WordPress staging site using a custom theme, Gutenberg, Bricks or Elementor, then migrate staging to production.