• Hello!

    I have to move two Webpages (made with WordPress) from a Windows server to a Linix Server.

    I saved the database and all thr directories of the old installation. In the old installation all important files have been in httpdocs. I found out that this is not possible on a Linux server. Files should be in the root directory.

    I transferred the database and the files but no reaction.

    I hope you can help me!!!

    regards

    Gerhard

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’d set up a new installation of WordPress on the Linux machine. Use the same names for the Database, User, and Password, that you had for the Windows install (just makes it a bit easier). You can run WordPress off the Root or in a Sub Directory.

    https://codex.www.ads-software.com/Giving_WordPress_Its_Own_Directory

    Make sure you have access to the new installation using the old domain name (I’m assuming the Domain is staying the same).

    Then overwrite the /wp-content/ folder with the old Windows files that you copied. This will contain all the Plugins, Themes, and Uploaded Media.

    Next import the database using phpMyAdmin.

    You may have to define the new Home and Site URL in the wp-config.php if its different than what it was.

    https://codex.www.ads-software.com/Changing_The_Site_URL

    Um linux has a completely different directory structure compared to Windows.

    Depending on what variant of Linux you’re installing it on, your files should go into /var/www

    Assuming the OP is installing WordPress VIA FTP or the cPanel the actual file locations will be looked after by the server.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Move WordPress from Windows to Linux’ is closed to new replies.