• Searching this site and the web in general returns a number of results for moving a WordPress blog from one server to another. However, as far as I can see they all involve moving between the same server operating systems, usually Linux/Apache –> Linux/Apache.

    I have a 3.0.1 WordPress installation (Thesis 1.8) on a Windows 2008 Server/IIS7. It works fine, but for various reasons I want to move it to a Linux/Apache server.

    Anyone know of any instructions for doing this?

    TIA

Viewing 8 replies - 1 through 8 (of 8 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    The file copy of your public_HTML folder and the mysql db should be pretty much that same, I think. I checked a couple blogs on the subject, and most people say that it works fine.

    Thread Starter CacCan

    (@caccan)

    Hi ipstenu.

    So what do you suggest should be the procedure? Here’s my guess based on your reply…

    1. Backup the database from the original installation and download to local PC.
    2. Copy public_HTML folder from original installation to local PC.
    3. Install WordPress on the Linux/Apache server.
    4. Copy all of the original public_HTML folder to the Linux server.
    5. Import the database backup to the new installation on the Linux server.

    Close?

    Moderator James Huff

    (@macmanx)

    1. Correct.
    2. Correct.
    3. No need to do this since you’ve got the original database and files.
    4. Correct.
    5. Correct.

    If you’re changing domain for any reason, make sure that you change the two URLs at Settings/General to the new domain before backing up.

    Also, you may need to make changes to the wp-config.php file to connect to the database on the new server.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    I was going to say make sure you bring over any hidden files like .htaccess, but I don’t know if windows uses them at all or not. If you have them, you may need new ones instead of the ones you have so … Just be aware that you might have to reset your permalinks πŸ™‚

    Thanks for covering, James πŸ™‚

    Moderator James Huff

    (@macmanx)

    You’re welcome, Mika! And, thanks for reminding me about the permalinks.

    Thread Starter CacCan

    (@caccan)

    Oops!

    Thanks for the try guys, but I just realized that Windows Servers don’t have a public_html folder.

    I had to drop this matter for a while to go put out some fires elsewhere. Just came back to this and when I inspected the original blog location (Windows 2008 Server) with my FTP program it hit me straight away that there was no public_html folder to copy.

    WordPress was installed into a folder called /blog off the root (wwwroot) of the Windows server.

    Also, Windows does not use an .htaccess file.

    Anyone got any more information specifically on moving a WordPress installation from a Windows 2000 server to a Linux/Apache server?

    Moderator James Huff

    (@macmanx)

    Basically, it’s all the same, except this time you’re moving the /blog/ directory, and don’t worry about .htaccess since you don’t have one.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    And wwwroot is the same as public_html πŸ™‚ Even some apache servers use it. The name is arbitrary, but there are some usual suspects πŸ˜‰

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Moving from Windows to Linux/Apache’ is closed to new replies.