• i’ve designed a web site on my localhost
    now i want to deploy it on a web host,how should i do it?

    i’ve read the wordpress codex and documentations but it wasn’t enough for me

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello Aminxp,

    you can easily deploy a website on the net if you have a full access to the running wordpress site on local server and a web hosting that support wordpress, you can do this via following those steps:-

    1) export your local database, you can simply do this via using phpmyadmin.
    2) create MySQL database on live site.
    3) import wordpress database on live site.(don’t forgot to change the site url and home url in the wp_options table).
    4) upload wordpress files to live site (you can do this via ftp or cpanel).
    5) edit your wp-config.php file at the root of wordpress directory and enter the database credentials you created earlier.

    That’s all, now you can login to the wp-admin and setting >> general and click save to ensure that site url is corrected anywhere else, also you need to go to the setting >> permalink to make sure all the post links working fine.

    Additional steps: if you face broken image/media issues you can fix this via using this query you can simply run this query via phpmyadmin “UPDATE wp_posts SET post_content = REPLACE(post_content, ‘localhost/test/’, ‘www.yoursite.com/’);”

    Hope this will help you.
    Thanks.

    Hi aminxp,

    since you’ve read the codex and wasn’t enough, you could take help of plugins to do the migration from local to live site.

    All-in-One Migration plugin is good one to look at.

    All the best!

    If you don’t know coding. Its better to use plugins.

    I use Duplicator from Life in the Grid to transfer a website from localhost running XAMP to the webserver.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘how to deploy a website on the net?’ is closed to new replies.