Uploading a WordPress Site (Home/Office)
Complete WordPress Site Migration and Hosting Guide
WordPress Migration Overview
WordPress Upload Process Overview
Setup Hosting Account
Create free hosting account with 000webhost.com and gather FTP credentials
Export Local Database
Use phpMyAdmin to export WordPress database from local development environment
Modify Database URLs
Replace localhost URLs with live domain URLs in exported SQL file
Upload and Configure
Transfer files via FTP and import database to live server
Hosting Account Setup Requirements
You will need these for future logins
Required for database URL replacement
Host name, username, and password for file uploads
Check junk folder for confirmation email
Mac Database Export Process
Start MAMP Server
Open MAMP application and ensure servers start automatically
Access phpMyAdmin
Navigate through WebStart page to Tools and open phpMyAdmin
Configure Export Settings
Choose Custom method, select all tables, enable file output and DROP TABLE statements
From the database list in the left sidebar, click mrp to select your WordPress database. This database contains all your site's content, user data, and configuration settings.

Click the Export tab in the main interface to begin the database export process:

Configure your export settings according to your operating system. These settings ensure a clean import process by including necessary SQL commands:
Mac vs Windows Export Configuration
| Feature | Mac Settings | Windows Settings |
|---|---|---|
| Export Method | Custom | Custom |
| Table Selection | Select All Required | All Tables Default |
| File Output | Save to File Required | Automatic Download |
| DROP TABLE Option | Manual Check Required | Manual Check Required |
Mac Database Export Process
Start MAMP Server
Open MAMP application and ensure servers start automatically
Access phpMyAdmin
Navigate through WebStart page to Tools and open phpMyAdmin
Configure Export Settings
Choose Custom method, select all tables, enable file output and DROP TABLE statements
Your browser will download the export file automatically or prompt you to save it. Modern browsers (Chrome, Firefox, Safari, Edge) typically save downloads to your Downloads folder by default, though you may have customized this location. The resulting mrp.sql file contains your complete database structure and content.
Note: This SQL file is a plain-text representation of your database and can be opened in any text editor if you need to inspect its contents.
Mac vs Windows Export Configuration
| Feature | Mac Settings | Windows Settings |
|---|---|---|
| Export Method | Custom | Custom |
| Table Selection | Select All Required | All Tables Default |
| File Output | Save to File Required | Automatic Download |
| DROP TABLE Option | Manual Check Required | Manual Check Required |
WordPress uses absolute links throughout the database. Failing to replace localhost URLs with live domain URLs will cause linking issues and broken functionality on the remote server.
URL Replacement Details
Mac Local URL
Replace all instances of http://localhost:8888/mrp with your live domain URL. Use Find and Replace in your code editor.
Windows Local URL
Replace all instances of http://localhost/mrp with your live domain URL. Ensure you include the full http:// protocol.
Remote Database Setup
Create Database
Use 000webhost control panel to create new database with name 'mrp', user 'user', and password 'passw0rd'
Note Prefixed Credentials
Record the auto-generated prefixes added to database name and username
Import SQL File
Use phpMyAdmin to import the modified mrp.SQL file with updated URLs
Cyberduck is recommended for this tutorial because it is free and cross-platform. However, any FTP client will work using the same basic upload principles outlined in this exercise.
File Upload Process
Use files.000webhost.com as server
This is the web-accessible directory
Use Cmd-A (Mac) or Ctrl-A (Windows) in mrp folder
Avoid dropping into existing folders
Database Connection Configuration
Create Remote Config
Save wp-config.php as wp-config-remote.php to preserve local development settings
Update Database Settings
Replace DB_NAME, DB_USER, DB_PASSWORD, and DB_HOST with remote server values
Upload and Rename
Upload new config file, delete old wp-config.php, and rename remote version
Once the wp-config.php file is properly configured and uploaded, your WordPress site should be live and fully functional on the remote server. Test all functionality to ensure successful migration.
Key Takeaways

