Preparing Your Wordpress Deployment From Localhost To Production Server

Discussion in 'Programming' started by hibiscustechno, Jan 22, 2013.

  1. #1
    Wordpress is one of the most favorite platforms for millions of people and widely used as a CMS today. From design to deployment it maintains all its beauty. Today i would like to share a deployment method most used by in our company Hibiscus Technolab to host wordpress website after the development in localhost

    1) Create a new database in the destination server / Hosting panel ,create a mysql user and grant all the privilages to access the newly created database
    2) Go to your local Php-myadmin interface and Export your wordpress database (Dump), and save the file in your local pc
    3) Open the exported file (the dump file) with your favorite text editor and search for
    http://localhost
    HTML:
    (if your are using separate port no then include it) and replace with
    http://www.yourwebsitename
    HTML:
    and save the file
    4) Go to the Phpmyadmin, Choose the newly created database in the hosting panel and import the file .
    5) Upload all the wordpress files to your hosting panel using ftp / file manager
    6) Edit wp-config.php and edit the DB_Name, DB_USER , DB_PASSWORD with the database name,database username, database password (created in hostingpanel/ destination server) and save it .
    4) If you face any problem with hyperlinks (404 error after the deployment to all links) go to Wp-Admin settings and press in save button once.
    5) Dont forget to change your WP-Admin password with a strong one


    If your find this post helpful , please give me a "like"
     
    hibiscustechno, Jan 22, 2013 IP