Title: localhost/localhost/localhost/page url in moved WordPress
Last modified: August 21, 2016

---

# localhost/localhost/localhost/page url in moved WordPress

 *  Resolved [koraxcz](https://wordpress.org/support/users/koraxcz/)
 * (@koraxcz)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/localhostlocalhostlocalhostpage-url-in-moved-wordpress/)
 * I have a multisite wordpress application which I recently moved. All the sites
   are practically the same, just different languages. The application is still 
   in development, so there was no domain name to change yet — I just changed the
   site’s address from IP to localhost using a [search and replace script](https://interconnectit.com/products/search-and-replace-for-wordpress-databases/).
 * I also added the following to wp-config.php:
 *     ```
       define('WP_SITEURL', 'http://localhost');
       define('WP_HOME', 'http://localhost');
       ```
   
 * When I run the site, everything seems to load correctly. However, the links in
   the default language (english) have bad URLs (this doesn’t happen in the other
   languages), which look like this:
 * [http://localhost/localhost/customers/](http://localhost/localhost/customers/)
 * Should be [http://localhost/customers/](http://localhost/customers/) of course.
   If I load such page, the same menu link that pointed to it will now be pointing
   to [http://localhost/customers/localhost/customers/](http://localhost/customers/localhost/customers/).
 * I can’t seem to be able to find out what is causing this, but maybe somebody 
   already encountered this.
 * An advice would be appreciated.
 * Thanks, Ondrej

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

 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [11 years, 10 months ago](https://wordpress.org/support/topic/localhostlocalhostlocalhostpage-url-in-moved-wordpress/#post-5119565)
 * What’s the whole Multisite section of your wp-config?
 * What’s in your .htaccess?
 *  Thread Starter [koraxcz](https://wordpress.org/support/users/koraxcz/)
 * (@koraxcz)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/localhostlocalhostlocalhostpage-url-in-moved-wordpress/#post-5119582)
 * Hi. Thanks for the message.
 * Seems I’ve been able to sort this out — I removed the new site and the DB, imported
   the DB again and copied the files in again. I ran the search and replace script
   again and everything’s good. Seems I must have done something wrong in these 
   steps the first time.
 * Thanks,
    Ondrej

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

The topic ‘localhost/localhost/localhost/page url in moved WordPress’ is closed 
to new replies.

## Tags

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

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 2 replies
 * 2 participants
 * Last reply from: [koraxcz](https://wordpress.org/support/users/koraxcz/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/localhostlocalhostlocalhostpage-url-in-moved-wordpress/#post-5119582)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
