Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hi there,

    I was wondering if you might be able to help. I’m trying to set up a network using WordPress within a subdomain. I want to set it up so it works like this:

    domain.tld/blogs/ – multisite install
    domain.tld/blogs/foo – blog site
    domain.tld/blogs/bar – blog site

    I noted that you said you’d got WordPress to work this way, despite it saying on the create a network page that this wasn’t possible.

    I have tried enabling the Multisite on a WordPress 3.1 installation and I have the Super Admin panel active and can create new sites. However, the themes are not carrying through and you can’t access the backends for the blog sites, i.e. going to domain.tld/blogs/foo/wp-admin returns the 404 page.

    My settings appear to be the same as @shennyg but I might just need to do something quite simple to fix it.

    Any help given would be much appreciated!

    My settings are as follows:

    wp-config.php :

    define('WP_ALLOW_MULTISITE', true);
    
    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', false );
    $base = '/blogs/';
    define( 'DOMAIN_CURRENT_SITE', 'domain.tld' );
    define( 'PATH_CURRENT_SITE', '/blogs/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );

    .htaccess :

    RewriteEngine On
    RewriteBase /blogs/
    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).*) $2 [L]
    RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    Cheers,

    SFO

Viewing 1 replies (of 1 total)