WordPress site navigation links point to internal IP

How amazingly annoying. Today I got this WordPress site running off the Synology NAS on my desk. I’m using noIP as my DDNS to resolve my domain name noodlemoney.com to the dynamic IP address provided by Verizon FIOS.

When installing the WordPress package, by default the site navigation links used the internal IP addresses provided by  the DHCP server in my router instead of Internet visible URLs. So when I clicked on any of the site navigation links they referred to 192.168.1.XXX. So they worked great as long as I was connected to my home network, but useless for the Internet… which makes writing a blog a very solitary experience.

After a lot of searching and frustration, I found the solution was to run a SQL command using the phpMyAdmin application in DSM 4.1

UPDATE wp_options SET option_value = replace(option_value, ‘http://192.168.1.XXX’, ‘http://www.noodlemoney.com’) WHERE option_name = ‘home’

That’s all it took. I can’t preview from my intranet, but at least the navigation links on the pages created work on the internet.

This entry was posted in Technology and tagged , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>