1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WP Problems showing server IP

Discussion in 'Blogging' started by MisterTwister, Sep 2, 2010.

  1. MisterTwister

    MisterTwister Regular Member

    Joined:
    Feb 12, 2009
    Messages:
    458
    Likes Received:
    160
    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.
     
  2. Crixus

    Crixus Regular Member

    Joined:
    Jul 10, 2010
    Messages:
    409
    Likes Received:
    119
    Occupation:
    Jack of all trades, master of a couple.
    Location:
    the ludus
    I would suspect the htaccess first. Clean that out, disable any plugins that depended on it, and see it that removes the problem.
     
    • Thanks Thanks x 1
  3. MisterTwister

    MisterTwister Regular Member

    Joined:
    Feb 12, 2009
    Messages:
    458
    Likes Received:
    160
    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.