• Resolved lincxx

    (@lincxx)


    Hi all,

    Long time reader, first time poster.

    Generally I can always find an answer to all of my issues here but this time having major problems.
    —–
    Issue:
    Using Brinkster as my service provider and am on a shared hosting plan. I have multiple instances of development sites set up on this service. It is a Windows server and the Rewrite engine is already on to redirect sites. I have all of my sites under:
    /webroot/www/<sitename>

    Everything works with the install and I can create sites and work with them. However, whenever I click on the links Network Admin -> Dashboard/Sites/Users/Visit Network it goes into a redirect loop.
    —–
    Browser error message is:
    This webpage has a redirect loop
    The webpage at http://www.designntech.com/wp-admin/network/ has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.
    —–
    .htaccess entries are as follows:

    #www.designntech.com and designntech.com will map to the folder {root}/www/designntech.com/
    #Brinkster Settings
    RewriteCond %{HTTP:Host} ^(?:www\.)?designntech\.com$
    RewriteRule (.*) /www/designntech.com/$1 [NC,L,NS]

    ## BEGIN WordPress Multisite Configuration
    #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]
    ## END WordPress Multisite Configuration
    —–
    wp-config.php additions are as follows:

    //** WordPress MultiSite – Enable **//

    define(‘WP_ALLOW_MULTISITE’, true);
    define(‘MULTISITE’, true);
    define(‘SUBDOMAIN_INSTALL’, true);
    $base = ‘/’;
    define(‘DOMAIN_CURRENT_SITE’, ‘www.designntech.com’);
    define(‘PATH_CURRENT_SITE’, ‘/’);
    define(‘SITE_ID_CURRENT_SITE’, 1);
    define(‘BLOG_ID_CURRENT_SITE’, 1);

    //** WordPress MultiSite Windows SetUp**//
    define(‘ADMIN_COOKIE_PATH’, ‘/’);
    define(‘COOKIE_DOMAIN’, ”);
    define(‘COOKIEPATH’, ”);
    define(‘SITECOOKIEPATH’, ”);
    —–
    Hoping someone can help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    What kind of windows server? What version of IIS?

    Thread Starter lincxx

    (@lincxx)

    Hi Ipstenu, it’s Windows 2003 Server and IIS 6.0

    Thread Starter lincxx

    (@lincxx)

    Oh forgot to add:

    • PHP version 5.3
    • MySQL version 5.1.43
    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Ick. My IIS knowledge is limited.

    This section is … interesting, since in Apache you don’t have to set that stuff in your .htaccess, but in your httpd.conf’s vhosts file. Which lets you actually not have it be ‘in a subfolder’ as you make {root}/www/designntech.com/ your root.

    #www.designntech.com and designntech.com will map to the folder {root}/www/designntech.com/
    #Brinkster Settings
    RewriteCond %{HTTP:Host} ^(?:www\.)?designntech\.com$
    RewriteRule (.*) /www/designntech.com/$1 [NC,L,NS]

    Normally that would be kind of like an add-on domain. Like I have helf.us, which lives in
    {root}/public_html/helf.us/ That makes it the ‘root’ of my install, and I could put Multisite there if I wanted, without any ‘subfolder’ issues. I don’t know the equivalent in IIS 🙁

    Thread Starter lincxx

    (@lincxx)

    All good. Had them migrate me to Linux. Sorted problems out.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Multisite Created in a Subdirectory’ is closed to new replies.