Skip to main content
April 1, 2026Noble Desktop Publishing Team/8 min read

Uploading a WordPress Site

Complete Guide to WordPress Site Migration and Deployment

Essential WordPress Migration Components

Database Export/Import

Transfer all posts, pages, comments, and settings stored in MySQL database from local to remote server.

File Transfer

Upload wp-content folder containing themes, plugins, and media files via FTP client.

URL Configuration

Replace local URLs with production URLs to ensure proper linking and functionality.

Topics Covered in This WordPress Tutorial:

Master the essential skills for deploying WordPress sites professionally: exporting databases, modifying SQL queries with appropriate absolute URLs, uploading complete WordPress installations, and importing databases to live servers.

Exercise Preview

ex prev 4D

Exercise Overview

You've perfected your WordPress site locally—now it's time to deploy it to production. This exercise demonstrates the professional workflow for migrating a complete WordPress installation from your development environment to a live web server. We're assuming your hosting provider has already configured WordPress through their one-click installation (standard practice for most quality hosts in 2026), meaning your database and core WordPress files are already in place. Your task is to seamlessly transfer your custom database and wp-content directory to replace the default installation.

This exercise is designed for Noble's instructor-led training environment. Independent learners should refer to Exercise B4 in the Bonus section for adapted instructions suitable for personal development environments.

Prerequisites Check

This process assumes WordPress is already installed on your remote server via one-click installation, with database and core files ready for replacement.

If You Did Not Do the Previous Exercise

  1. Launch your web browser and navigate to localhost:8888/mrp/wp-admin (Mac) or localhost/mrp/wp-admin (Windows). Log in when prompted.
  2. In the WordPress Dashboard sidebar, hover over Appearance and select Themes.
  3. Click the Add New button to access the theme installer.
  4. Select the Upload option, then click Browse (or Choose File depending on your browser).
  5. Navigate to Desktop > Class Files > WordPress.org Class and select mrpTheme-ready-for-uploading.zip.
  6. Click Install Now, then Activate to apply the theme to your development site.

Getting Started

Before beginning the deployment process, you'll need access credentials for your target server. Your instructor will provide these essential connection details.

  1. Record the following credentials from your instructor (you'll need these throughout the deployment process):

    • WordPress URL - Your live site's web address
    • PhpMyAdmin URL - Database management interface
    • FTP Username - File transfer protocol access
    • FTP Password - Secure authentication for file uploads
  2. Open your browser and visit the WordPress URL assigned to you. You'll see a fresh WordPress installation courtesy of your host's automated setup. This default installation will be completely replaced with your custom MRP site, preserving all your development work while transitioning to the live environment.

Required Credentials Checklist

0/3

Exporting the Database

WordPress stores all dynamic content—posts, pages, comments, user data, and configuration settings—in a MySQL database. The most efficient way to migrate your site is to export this database from your local environment and import it to your live server. This process ensures perfect content fidelity and preserves all your customizations.

  1. Access phpMyAdmin through your local development environment:

    MAMP vs XAMPP Database Access

    FeatureMac (MAMP)Windows (XAMPP)
    ApplicationMAMPXAMPP
    Access MethodWebStart page → ToolsControl panel → localhost
    Required ServicesAuto-start serversApache + MySQL running
    Recommended: Both platforms provide phpMyAdmin access through different paths but identical functionality

Mac (MAMP)

  1. Launch the MAMP application from your Applications folder.
  2. Ensure servers start automatically, or click Start Servers if they don't.
  3. Click Open WebStart page to launch the MAMP control panel in your browser.
  4. Navigate to Tools > phpMyAdmin from the main menu.

Windows (XAMPP)

  1. Open the XAMPP Control Panel from your installation directory.
  2. Verify that both Apache and MySQL services are running (green status indicators).
  3. Open your browser and navigate to localhost to access the XAMPP dashboard.
  4. In the left sidebar under Tools, click phpMyAdmin.
  • Select the mrp database from the left sidebar. This database contains your entire WordPress installation, including all content, settings, and user data.

    phpMyAdmin mrp database

  • Click the Export tab to begin the database extraction process:

    upload export

  • Configure your export settings using the appropriate options for your operating system:

    Database Export Process

    1

    Select Database

    Click the mrp database from the left sidebar list containing all WordPress content

    2

    Configure Export

    Choose Custom method, select all tables, enable file output, and add DROP TABLE statements

    3

    Download File

    Click Go to generate mrp.SQL file and save to Downloads folder

  • Mac Export Configuration

    1. Under Export Method, select Custom for advanced control options.
    2. Under Table(s), click Select All to ensure complete data migration.
    3. Under Output, choose Save output to a file to download the database locally.
    4. Under Object creation options, enable Add DROP TABLE / VIEW / PROCEDURE / FUNCTION / EVENT / TRIGGER statement to ensure clean imports.
    5. Click Go to begin the export process.

    Windows Export Configuration

    1. Under Export Method, select Custom for detailed export options.
    2. Under Object creation options, enable Add DROP TABLE / VIEW / PROCEDURE / FUNCTION / EVENT / TRIGGER statement for optimal compatibility.
    3. Click Go to initiate the database export.
  • Save the exported file to your Downloads folder when prompted. Modern browsers like Chrome and Safari will automatically download the file without additional prompts, while others may display a save dialog.

    Important: The exported mrp.sql file will be saved to your default download location. If you've customized your browser's download preferences, check your specified download directory.

  • Database Export Process

    1

    Select Database

    Click the mrp database from the left sidebar list containing all WordPress content

    2

    Configure Export

    Choose Custom method, select all tables, enable file output, and add DROP TABLE statements

    3

    Download File

    Click Go to generate mrp.SQL file and save to Downloads folder

    Replacing the Local URLs

    WordPress stores URLs as absolute links throughout the database, creating a critical migration challenge. Your local database contains references to localhost URLs that won't function on your live server. This step replaces all local references with your live server URLs, ensuring seamless functionality after deployment.

    1. Launch your preferred code editor (Sublime Text, Visual Studio Code, or Dreamweaver).

    2. Open the exported database file by selecting File > Open from the menu.

    3. Navigate to your download location:
      • Mac: [username] > Downloads
      • Windows: C: > Users > [username] > Downloads
    4. Open the mrp.sql file in your editor.

    5. Access the Find and Replace function:

      • Sublime Text: Find > Replace or Ctrl/Cmd+H
      • Dreamweaver: Edit > Find and Replace
      • Visual Studio Code: Edit > Replace or Ctrl/Cmd+H
    6. Configure the replacement parameters exactly as shown:

      Find: http://localhost:8888/mrp (Mac) or http://localhost/mrp (Windows)
      Replace: Enter the exact WordPress URL provided by your instructor (case-sensitive).
    7. Execute Replace All to update all URL references throughout the database file.

    8. Save the modified file, preserving all changes for the import process.

    With your URLs properly configured, you're ready to import the database to your live server environment.

    Critical URL Replacement

    WordPress stores absolute URLs in the database. Failing to replace localhost paths with production URLs will break all internal links and functionality.

    Platform-Specific Local URLs

    FeatureMacWindows
    Find Patternhttp://localhost:8888/mrphttp://localhost/mrp
    Replace WithYour production WordPress URLYour production WordPress URL
    Recommended: Use Find and Replace in your code editor for accurate bulk URL replacement

    Importing the Database

    1. Navigate to the phpMyAdmin URL provided by your instructor. Pay careful attention to case sensitivity—these URLs must be entered exactly as provided.

    2. Authenticate using the Username and Password credentials from your instructor.

    3. Select your target database from the left sidebar. The database name will match your FTP Username, creating a consistent naming convention for easy identification.

      click database name

    4. Navigate to the Import tab to begin the database restoration process.

      upload import

    5. Click Choose File (or Browse in older browsers) to select your modified database file.

    6. Navigate to your Downloads folder and locate the mrp.sql file you edited earlier.

    7. Double-click mrp.sql to select it for import.

    8. Click the Go button to execute the import. A successful import will display a confirmation message such as: "Import has been successfully finished, 396 queries executed."

      Performance Note: Database imports typically complete within seconds for sites of this size. If you experience stalling (particularly in Safari), try using Chrome or Firefox for more reliable performance during large file operations.

    Remote Database Import

    1

    Access phpMyAdmin

    Navigate to provided phpMyAdmin URL and login with assigned credentials

    2

    Select Target Database

    Click your database name from left sidebar (matches FTP username)

    3

    Import SQL File

    Use Import tab, choose mrp.SQL file, and execute to transfer all content

    FTP Clients

    Professional WordPress deployment requires reliable file transfer capabilities. While numerous excellent FTP clients exist—including FileZilla, WinSCP, and Transmit—we recommend Cyberduck for this exercise due to its robust cross-platform compatibility, intuitive interface, and zero cost. The principles and steps demonstrated here translate seamlessly to any FTP client you might prefer in your professional workflow.

    For Noble Desktop students, Cyberduck comes pre-installed in your classroom environment, ensuring consistent results across all workstations.

    FTP Client Selection

    Cyberduck is recommended for its free, cross-platform compatibility, but any FTP client follows the same upload process outlined in this tutorial.

    Uploading Your WordPress Site

    The final deployment step involves transferring your custom files to the live server, replacing the default WordPress installation with your carefully crafted site.

    1. Launch Cyberduck from your applications folder or desktop shortcut.

    2. Click the Open Connection button located at the top-left of the main interface.

    3. Configure your server connection with the provided credentials:

      • Server: noble.local
      • Username: Enter your assigned or selected username
      • Password: Enter your assigned or selected password
    4. Expand the advanced options by clicking the triangle more options next to More Options if not already visible.

    5. Set the Path to: public_html/WordPress/ to direct uploads to your WordPress installation directory.

    6. Click Connect to establish the FTP connection. If you receive an Unsecured FTP connection warning, click Continue—this is expected for classroom environments.

      Troubleshooting: Connection failures typically result from credential errors or extra spaces in the input fields. Double-check your entries for accuracy.

      Pro Tip: Once successfully connected, use Bookmark > New Bookmark to save these settings for future deployments.

    7. Position the Cyberduck window to occupy half your screen, leaving space for your local file browser.

    8. Open a new Finder (Mac) or File Explorer (Windows) window and navigate to your local WordPress installation:
      • Mac: Applications > MAMP > htdocs > mrp
      • Windows: C: > xampp > htdocs > mrp
    9. Arrange both windows side-by-side for efficient drag-and-drop operations.

    10. Drag the wp-content folder from your local directory directly onto the Cyberduck window. Ensure you're dropping into the main directory, not into an existing subfolder. Click Continue if you receive another security warning.

    11. Monitor the upload progress in the Transfers window that appears automatically. If prompted about overwriting existing files, click Continue to replace the default installation files with your customized versions.

    12. Close the Transfers window once the upload completes successfully.

    13. Test your deployment by visiting the WordPress URL provided at the beginning of class. Your MRP website should load completely, demonstrating successful migration from development to production environment.

    Congratulations! You've successfully completed a professional WordPress deployment, mastering the essential skills needed for client work and production environments.

    FTP Connection Setup

    1

    Configure Connection

    Enter server (noble.local), username, password, and path (public_html/WordPress/)

    2

    Locate Local Files

    Navigate to MAMP/htdocs/mrp (Mac) or xampp/htdocs/mrp (Windows) folder

    3

    Upload wp-content

    Drag wp-content folder to Cyberduck window and confirm overwrite of existing files

    Migration Complete

    Once file upload completes, visit your assigned WordPress URL to see your MRP website live on the remote server.

    Key Takeaways

    1WordPress site migration requires transferring both database content and wp-content folder files to the remote server
    2Local development environments use different URL patterns (localhost:8888 for MAMP, localhost for XAMPP) that must be replaced
    3Database export should include DROP TABLE statements and all tables to ensure clean import on production server
    4Absolute URLs stored in WordPress database must be updated from local paths to production URLs before import
    5FTP clients like Cyberduck provide drag-and-drop file transfer functionality for uploading wp-content folders
    6phpMyAdmin access methods differ between MAMP and XAMPP but provide identical database management capabilities
    7One-click WordPress installations by hosting providers create the foundation database and core files for replacement
    8Successful migration combines three critical steps: database export/import, URL replacement, and file transfer via FTP

    RELATED ARTICLES