Editing
Uploading a WordPress Site
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Workflow == * Upload the WordPress files ** Edit `/[WP_ROOT]/wp-config.php` to update the `DB_HOST` definition with the correct database server value for the production environment. ** The optimal way is to put the WordPress directory in a tarball, upload, and extract. This requires SSH on the remote server. ** Make sure to upload a `.htaccess` file that will handle requests based on page names. ** Take care to include media uploads (`[WP_ROOT]/wp-content/uploads/`) * Export the staging WordPress database. ** Make certain the client has stopped updating the content of the site. ** PhpMyAdmin on local machine. ** ''My_WP_Database'' > '''Export''' > ''Default settings'' > ''save as .SQL file'' ** Do a search and replace on the exported file, replacing the staging domain name with the production domain name. * Import the staging WordPress database. ** Using PhpMyAdmin on the production server, login and select the WordPress database. ** Click the '''import''' tab and then select the .sql file exported from staging. ** Use default settings for import. [[Category:WordPress]] [[Category: Web Development]]
Summary:
Please note that all contributions to Littledamien Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Littledamien Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information