Title: Post Migration Issue
Last modified: December 17, 2025

---

# Post Migration Issue

 *  [jegallag17](https://wordpress.org/support/users/jegallag17/)
 * (@jegallag17)
 * [5 months, 3 weeks ago](https://wordpress.org/support/topic/post-migration-issue/)
 * I migrated my self hosted (hosting on Raspberry Pis) from one Pi to another. 
   When I point my web traffic to the new server IP address, a webpage comes up 
   showing the wordpress directory. If I click on the wordpress directory, it launches
   the webpage. How do I correct this so that incoming web traffic goes straight
   to the webpage?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpost-migration-issue%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [5 months, 3 weeks ago](https://wordpress.org/support/topic/post-migration-issue/#post-18759807)
 * In your httpd configuration, change the document root to that wordpress directory.
 *  Thread Starter [jegallag17](https://wordpress.org/support/users/jegallag17/)
 * (@jegallag17)
 * [5 months, 3 weeks ago](https://wordpress.org/support/topic/post-migration-issue/#post-18759811)
 * Which configuration are you refernecing?
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [5 months, 3 weeks ago](https://wordpress.org/support/topic/post-migration-issue/#post-18759819)
 * I assume you’re running some form of linux on that Pi, so in the webserver configuration.
 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [5 months, 3 weeks ago](https://wordpress.org/support/topic/post-migration-issue/#post-18759859)
 * Configuration varies somewhat depending on the specific O/S. I believe Pi OS 
   is essentially Debian?
 * If so, it uses a virtual host scheme. [Generic instructions here](https://linuxize.com/post/how-to-set-up-apache-virtual-hosts-on-debian-10/#create-a-virtual-hosts).
 * Where the example has `<VirtualHost *:80>`, replace the `*` with the actual IP
   address you’re using. If you’re not using port 80, change the `80` to the correct
   port.
 * I think the only entries you really need is an arbitrary server name and the 
   DocumentRoot entry. Though you should want the log files enabled as well. Be 
   sure your DocumentRoot value reflects the actual path on your server.
 *  Thread Starter [jegallag17](https://wordpress.org/support/users/jegallag17/)
 * (@jegallag17)
 * [5 months, 3 weeks ago](https://wordpress.org/support/topic/post-migration-issue/#post-18759879)
 * I am running this on a Pi running Debian 12.
 * I have also discovered that I am unable to access any of my pages to edit them.
   Message is: Unable to connect.
 * I believe this is all due to the fact that it wants to look at the 192.168.1.190/
   wordpress URL instead of the 192.168.1.190 URL, but I am a little over my head
   on this one.
 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [5 months, 3 weeks ago](https://wordpress.org/support/topic/post-migration-issue/#post-18761335)
 * 192.168.1.190/wordpress should at least work, even if it’s not what you want.
   By requesting only 192.168.1.190, can you access whatever lies in the default
   root directory (usually at /var/www/html)? It’s feasible to use rewrite rules
   to redirect requests to 192.168.1.190/wordpress/ when just 192.168.1.190 is requested.
   No need to mess with virtual hosts. See [this doc page](https://developer.wordpress.org/advanced-administration/server/wordpress-in-directory/).
   This assumes Apache web server. If you’re using nginx, there’s a different kind
   of file that’s equivalent to .htaccess that would need to be altered.

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpost-migration-issue%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

## Tags

 * [migration](https://wordpress.org/support/topic-tag/migration/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 3 participants
 * Last reply from: [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * Last activity: [5 months, 3 weeks ago](https://wordpress.org/support/topic/post-migration-issue/#post-18761335)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
