WordPress.org

Forums

How to transfer WordPress site to Virtual host (4 posts)

  1. pratikrawal
    Member
    Posted 1 year ago #

    Hello Friends,

    how do I transfer my wordpress website which is running on XAMPP server to virtual host which is on some ip address like x.x.x.x. ?

    I have it ftp detail, I mean user id and password.

    but I don't know how to transfer?

    Thanks in advance for your help!

  2. catacaustic
    very awesome
    Posted 1 year ago #

    There's a lot of information in Moving WordPress. That should be able to tell you what you are looking for.

  3. pratikrawal
    Member
    Posted 1 year ago #

    I found that, in my case I just need to copy those files from xampp-> htdocs-> my website to virtual host 111.111.11.11 through ftp!

    but is it that simple, because one of my networking friend told me that , I have to create the database as well and change the ip address 127.0.0.1 to the 111.111.11.11 , which is the one where I am transferring.

    In which file should I change it?

    Thanks.!

  4. catacaustic
    very awesome
    Posted 1 year ago #

    You need to change the database connection details in your wp-config.php file to match what your new hosting service has for the new database. That will connect the database, but you'll still need to update the URL's in the database, as WordPress does hard-code them into the body of posts/pages/etc. I use this script for that.

Topic Closed

This topic has been closed to new replies.

About this Topic