WP Problems showing server IP

MisterTwister

Regular Member
Feb 12, 2009
459
162
Help please!

I have set up an autoblog using WP Robot. If I access the homepage in my browser all is fine but as soon as I click on any link or page it shows the url including the server ip. Eg. http://12.123.45.67/mydomain.com

This is driving me mad so hope someone here can help.
 
I would suspect the htaccess first. Clean that out, disable any plugins that depended on it, and see it that removes the problem.
 
Ok - Resolved the problem.

I added the following 2 lines to wp-config.php

Code:
define('WP_SITEURL', 'http://www.example.com');
define('WP_HOME', 'http://www.example.com');

This worked a treat.
 
Back
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features and essential functions on BlackHatWorld and other forums. These functions are unrelated to ads, such as internal links and images. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock