Title: Move WordPress from Windows to Linux
Last modified: August 22, 2016

---

# Move WordPress from Windows to Linux

 *  [WondiPress](https://wordpress.org/support/users/wondipress/)
 * (@wondipress)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/move-wordpress-from-windows-to-linux/)
 * 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)

 *  [Radices](https://wordpress.org/support/users/radices/)
 * (@radices)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/move-wordpress-from-windows-to-linux/#post-5666429)
 * 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.
 * [http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory](http://codex.wordpress.org/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.
 * [http://codex.wordpress.org/Changing_The_Site_URL](http://codex.wordpress.org/Changing_The_Site_URL)
 *  [giollianosulit](https://wordpress.org/support/users/giollianosulit/)
 * (@giollianosulit)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/move-wordpress-from-windows-to-linux/#post-5666502)
 * 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
 *  [Radices](https://wordpress.org/support/users/radices/)
 * (@radices)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/move-wordpress-from-windows-to-linux/#post-5666602)
 * 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.

## Tags

 * [linux](https://wordpress.org/support/topic-tag/linux/)
 * [move](https://wordpress.org/support/topic-tag/move/)
 * [windows](https://wordpress.org/support/topic-tag/windows/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 3 replies
 * 3 participants
 * Last reply from: [Radices](https://wordpress.org/support/users/radices/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/move-wordpress-from-windows-to-linux/#post-5666602)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
