NOBLOGREDIRECT problem (3 posts)

  1. Cole Slaw
    Posted 4 years ago #

    I have a problem with my Multi Site installation. If people write:

    1) example.multisite.com they are redirected to

    This results in a double "newblogname" when it should be example.multisite.com it becomes examplemultisitecom.multisite.com

    2) http://www.multisite.com they are redirected to

    This should naturally lead to http://www.multisite.com

    Would really appreciate if someone could add clearness to this.


    My wp-config.php:

    define('WPLANG', 'sv_SE');
    define('WP_DEBUG', false);
    define('WP_POST_REVISIONS', false);
    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', true );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'www.multisite.com' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );

    My .htaccess file:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]
  2. dgilmour
    Posted 4 years ago #

    1. Typing example.multisite.com leads me to http://www.multisite.com/

    2. Typing http://www.multisite.com leads me to http://www.multisite.com/

    The site's domain should definitely be set to multisite.com, without the "www." part, so changing that would be a sensible next step.

  3. Is multisite.com your real domain?

    http://multisite.com/ doesn't redirect anywhere, so I think it's not your real domain.

Topic Closed

This topic has been closed to new replies.

About this Topic