• Resolved insanebunny

    (@insanebunny)


    I just switched over to multisite today. I had previously set up a WP site with many pages (not blog format) and we wanted to separate those pages into separate sites.

    Anyways, I updated to multi-site with sub-directories (does not support sub-domains)
    I added

    define(‘WP_DEBUG’, false);
    define(‘WP_ALLOW_MULTISITE’, true);
    define(‘MULTISITE’, true);
    define(‘SUBDOMAIN_INSTALL’, false);
    define(‘DOMAIN_CURRENT_SITE’, ‘services.forsite.ca’);
    define(‘PATH_CURRENT_SITE’, ‘/web/’);
    define(‘SITE_ID_CURRENT_SITE’, 1);
    define(‘BLOG_ID_CURRENT_SITE’, 1);
    define(‘ADMIN_COOKIE_PATH’, ‘/’);
    define(‘COOKIE_DOMAIN’, ”);
    define(‘COOKIEPATH’, ”);
    define(‘SITECOOKIEPATH’, ”);

    to my wp-config.php and I had to create an .htaccess file with

    RewriteEngine On
    RewriteBase /web
    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]

    2 things are going weird. A) when i create a new site and try to view the new site, there is no theming that gets put on the page, it’s just text on a white background. I notice when looking at the Chrome console it’s trying to access twentyfourteen theme which I don’t even have enabled, I have network enabled twentytwelvenew (a custom theme) which shows up on my primary network admin site.

    secondly there’s an infinite redirect loop happening when i try to look at the dashboard of the new page. The address does not have a www prefix, the address does not have underscores, and the address does not have uppercase letters. I do not have database access, so if I do need to make any changes to the DB i need to talk to my IT tech and if that is a case I need to be pretty sure of what I’m telling him I need done. Any suggestions??

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter insanebunny

    (@insanebunny)

    To note, my wordpress site is installed in a sub-folder. My htaccess file is located in this sub-folder with the rest of my WP content.

    i have same problem and i don not know what to do?

    new site

    Thread Starter insanebunny

    (@insanebunny)

    I was able to fix my problem when I realized that I was running my WordPress off of an IIS server not an Apache, I found a replacement code to put into my web.config file and it worked fine after that.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Multisite Redirect Loop and no theming of new site’ is closed to new replies.