Title: IP Address Change
Last modified: August 18, 2016

---

# IP Address Change

 *  [skmodifieds](https://wordpress.org/support/users/skmodifieds/)
 * (@skmodifieds)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/ip-address-change-2/)
 * Hey guys, I read the previous thread where somebody was having trouble because
   their IP Address Changed on their Apache Server. I am having the same problem
   and everybody suggest changing something in the tables, but the person that hosts
   my server can’t find any reference to the IP address in the tables. Please help!
   Thanks

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

 *  Thread Starter [skmodifieds](https://wordpress.org/support/users/skmodifieds/)
 * (@skmodifieds)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/ip-address-change-2/#post-255989)
 * bump
 *  [skippy](https://wordpress.org/support/users/skippy/)
 * (@skippy)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/ip-address-change-2/#post-255993)
 * The IP address of your server is not stored in the database, unless you specifically
   entered an IP address rather than a domain name for the “home” URL.
 * What problem(s) are you experiencing as a result of the IP address change?
 *  Thread Starter [skmodifieds](https://wordpress.org/support/users/skmodifieds/)
 * (@skmodifieds)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/ip-address-change-2/#post-256016)
 * I have been using a template for my site, so when the IP address changes, the
   stylesheet does not load and the links are all showing the old IP address. Last
   time, the only way to fix this was to delete the database, which means I lost
   my blog. I searched all the files in wordpress for the IP address and it wasn’t
   anywhere, so I had to delete the database.
 *  [skippy](https://wordpress.org/support/users/skippy/)
 * (@skippy)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/ip-address-change-2/#post-256017)
 * Whatever frame lives at [http://lovesit.net/](http://lovesit.net/) is where the
   IP address is. You’ll need to edit that file some how.
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/ip-address-change-2/#post-256018)
 * The siteurl and home values are in the database. If you have phpmyadmin, you 
   can change them by following this:
    [http://www.tamba2.org.uk/wordpress/site-url/](http://www.tamba2.org.uk/wordpress/site-url/)
 *  [hhh](https://wordpress.org/support/users/hhh/)
 * (@hhh)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/ip-address-change-2/#post-256367)
 * You can also change these values through the command line:
 * shell> mysql DBNAME -u USERNAME -p
    mysql> show tables;
 * (use the table name with _options in the next commands if you changed the table
   prefix)
 * mysql> update wp_options set option_value=”NEWPREFIX” where option_name=”siteurl”;
   
   mysql> update wp_options set option_value=”NEWPREFIX” where option_name=”home”;
 * Just replace NEWPREFIX with the new IP or domain name like “[http://new.domain.com/path/to/wordpress&#8221](http://new.domain.com/path/to/wordpress&#8221);.
 * I haven’t tried this yet, but I think if you make one blank, the site will get
   relative URLs instead of prefixing all links with the siteurl.
 *  [hbee](https://wordpress.org/support/users/hbee/)
 * (@hbee)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/ip-address-change-2/#post-256390)
 * Brilliant! Worked very well, thanks.

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

The topic ‘IP Address Change’ is closed to new replies.

## Tags

 * [address](https://wordpress.org/support/topic-tag/address/)
 * [change](https://wordpress.org/support/topic-tag/change/)
 * [IP](https://wordpress.org/support/topic-tag/ip/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 5 participants
 * Last reply from: [hbee](https://wordpress.org/support/users/hbee/)
 * Last activity: [19 years, 8 months ago](https://wordpress.org/support/topic/ip-address-change-2/#post-256390)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
