• I’ve been googling and messing around for two days and none of the posts I read seemed to have helped… Below is a description of my situation.

    – I host my website at nearlyfreespeech.net and registered the domain name r1ff.com with them.
    – I set up a blog at https://www.r1ff.com/blog/ and it’s been running for a few months fine.
    – I upgraded to 3.5 a few days ago.
    – Recently I decided to set up a new blog that’s completely separated from my old blog. I turned on the MultiSite with subdirectory install. I set up the new blog at https://www.r1ff.com/blog/kzclg/ .

    What I can do:
    – The original blog is still working fine. I can visit it, I can access its dashboard, I can post articles and upload files, I can publish and delete posts. Everything worked.
    – I can visit the network admin page and add/delete sites. That worked fine.

    My problems:
    1. When I visit my new blog, https://www.r1ff.com/blog/kzclg/ , I see a page with bare HTML and no CSS. Theme wasn’t applied, and it looked ugly.
    2. When I visit the dashboard for my new site, https://www.r1ff.com/blog/kzclg/wp-admin , my browser tells me I’m stuck in an infinite redirect loop.

    I don’t know if it matters, but my original blog was set up at /blog, coinciding with the mandatory prefix for all new blogs. Is that an issue?

    For reference, here’s the content from my .htaccess

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /blog/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php [L]
    </IfModule>
    
    php_value memory_limit 64M
    
    # BEGIN WordPress
    
    RewriteEngine On
    RewriteBase /blog/
    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).*) blog/$2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ blog/$2 [L]
    RewriteRule . index.php [L]
    
    # END WordPress

    And here’s the relevant part from wp-config.php

    /* Multisite */
    define('WP_ALLOW_MULTISITE', true);
    
    /* Multisite installation */
    
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', false);
    define('DOMAIN_CURRENT_SITE', 'www.r1ff.com');
    define('PATH_CURRENT_SITE', '/blog/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);
    
    /* That's all, stop editing! Happy blogging. */

    If I should provide more information, I’d be glad to do so.
    I don’t understand .htaccess or php at all, so please be lenient on jargons.

Viewing 8 replies - 16 through 23 (of 23 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    What do you want to have in r1ff.com?

    What do you want the URL for your main site to be?

    What do you want the URLs of your subsites to be?

    Thread Starter riffschelder

    (@riffschelder)

    Basically, I want everything concerning my blogs to go to r1ff.com/blog/ . I want to reserve r1ff.com for other business, should I want to do something one day.

    I just don’t want the very root of my site to become the entrance to blog.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    You do know you can make the front page of the main site look like anything you want ?? So teh real question there is what do you want to use to manage the code on r1ff.com? ??

    But that’s okay.

    If you want your Multisite’s URL to be r1ff.com/blog and the subsites to be r1ff.com/blog/sitename, then install in r1ff.com/blog

    That’s just straightforward. If it’s not working, you did something wrong, scrub and start over ??

    Thread Starter riffschelder

    (@riffschelder)

    That’s what I tried and failed. And that’s the situation I was describing in the very first post.

    I tried removing the www, but that didn’t help much.

    I’ve installed a complete new copy in another directory, which is a waste of disk space considering lots of the files are the same. Ah well, it’s working.

    I’ll leave the whole multisite thing aside until I’m more savvy on computer stuff.

    Thread Starter riffschelder

    (@riffschelder)

    Thanks for your help anyway, Mika. Your books are great.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Did you try starting over though? If it’s wrong in the begining, it’s often more trouble than it’s worth to dig through and debug, if there’s nothing to lose with a reboot, as it were.

    Thread Starter riffschelder

    (@riffschelder)

    I did start over, uninstalling the multisite as instructed at the end of your first book.

    I’ll probably come back for help again. In a few months, maybe, or years.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    xiao xiaoxiao – Make your own topic pleas.

    ETA: Yes, your post was deleted. Make your own topic. ??

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘Multisite Subdirectory Install – Infinite Redirect Loop’ is closed to new replies.