IP Address always showing; how do I correct this?
-
I’ve set up a site using 3.5 under a .com domain name, which worked fine. Then I tried to get Multisite installed which I managed to bodge then correct. The state now is that Multisite is running fine, but the site name in wp-config is my sites IP address, as it is in MySQL WordPress database wp_options as the siteurl and home.
If I enter the domain name in a browser, I get my main site up – but it changes the URL displayed to the IP address. I can only access /wp-admin if I tap this in after the IP address, not the domain name. Finally, if I go to create a new site in my network, it suggests the domain will be referenced as the x.x.x.x/sitename, not https://www.mydomain.com/sitename as I intended.
I really want https://www.mydomain.com as my main site, and any in my network as https://www.mydomain.com/subsitename. Likewise to access my Admin page off the main site URL. In time, there will by 100s of these sub sites, primarily accessed by their own domain names.
Besides changing the site fields in wp_options, and changing the site name in wp_config.php, are there any other places I need to change things to make this work? It looks like I need to change it in MySQL table wp_host as well, but I’m getting deeper and I suspect walking into trouble!
Any pointers or guidance greatly appreciated.
- The topic ‘IP Address always showing; how do I correct this?’ is closed to new replies.