Support » Plugin: WordPress MU Domain Mapping » problem with subdirectories

  • Hello,
    First : thanks you for this powerful plugin.

    But i’m unable to understand and solve a big problem for me :
    my configuration :
    define(‘SUNRISE’, ‘on’);
    define( ‘MULTISITE’, true );
    define( ‘SUBDOMAIN_INSTALL’, false );
    $base = ‘/’;
    define( ‘DOMAIN_CURRENT_SITE’, ‘’ );
    define( ‘PATH_CURRENT_SITE’, ‘/’ );
    define( ‘SITE_ID_CURRENT_SITE’, 17 );

    in fact, when i create a new blog and attach a new url evrythings work good.
    but when i want to create a folder blog. like

    it creates a new blog, but if i want to access to this new blog, it goes to the main site with the url of the new blog : -> it shows : content.
    idem with it shows panel of the main site.

    I’ve tried a lot lot of things and always the same …

    so what to do to solve my problem ?

    thanks a lot

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Ron Rennick


    MultiSite Guru

    That sounds like mod_rewrite is not enabled in your web server config.

    thanks a lot for your help … i forgot to put .htaccess
    SetEnv PHP_VER 5
    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]

    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]

    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
    # END WordPress

    i really don’t know what’s going on 😉
    RewriteEngine On // enable mode_rewrite ? (don’t know)

    I’m wondering if there is a way to flush or delete informations of domain mapping plugin ?

    Plugin Author Ron Rennick


    MultiSite Guru

    @theeponymus – the rewrite rules above aren’t for domain mapping. WP needs those whether or not you have domain mapping installed.

    Yes, you can uninstall the plugin and remove the database tables it creates.


    thanks !

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘problem with subdirectories’ is closed to new replies.