• I am using multisite with subdomains on a server with Plesk 11 installed. I have followed all the steps at Configuring_Wildcard_Subdomains_for_multi_site_under_Plesk_Control_Panel and everything works apart from any includes.

    The site is at climaterushdev.co.uk and the subsite at bristol.climaterushdev.co.uk. As you can see main site is ok but sub site isn’t.

    I am using the following relative links in the mod_rewrite

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [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]

    As i am on Plesk 11, i don’t have direct access to the httpd.conf so i have to go into /var/www/domain.com/conf and add vhost.conf to add

    ServerAlias *.climaterushdev.co.uk
    <Directory /var/www/vhosts/climaterushdev.co.uk/>
    AllowOverride FileInfo Options
    php_admin_flag safe_mode off
    </Directory>

    I have also added *.climaterushdev.co.uk as a CNAME in the DNS as described in the first article on WordPress re: Configuring Plesk.

    I am completely stuck and tried everything i can find. Anybody have any ideas?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Multisite not loading includes, css or js’ is closed to new replies.