The MU forums have moved to

Absolute/Relative internal link problem (3 posts)

  1. marcusjwilson
    Posted 13 years ago #

    I've just installed Wordpress MU at

    All seems okay, apart from all links internal to Wordpress MU are adding the name of the URL twice

    i.e. login link tries to access rather than just

    I assume I entered the site URL wrongly on setup. Can you advise where I need to change the domain and path references in the php files and/or SQL to correct this? I'll be using subdomains for each blog.

    My current wp-config.php has the entries below. If I change PATH_CURRENT_SITE just to '/' the site starts to throw errors.


    /** MySQL hostname */
    define('DB_HOST', 'localhost');

    /** Database Charset to use in creating database tables. */
    define('DB_CHARSET', 'utf8');

    /** The Database Collate type. Don't change this if in doubt. */
    define('DB_COLLATE', '');
    define('VHOST', 'no');
    $base = '/';
    define('DOMAIN_CURRENT_SITE', '' );
    define('PATH_CURRENT_SITE', '/' );
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOGID_CURRENT_SITE', '1' );


  2. tmoorewp
    Posted 13 years ago #

    Change define('PATH_CURRENT_SITE', '/' ); to define('PATH_CURRENT_SITE', '/' ); and $base = '/'; to $base = '/'; and you'll be fine.

  3. justinkomhyr
    Posted 13 years ago #

    Can you please let me know if this works. I haven't seen it for a while but I had a similar problem once?

About this Topic

  • Started 13 years ago by marcusjwilson
  • Latest reply from justinkomhyr