• Resolved darcmosch

    (@darcmosch)


    I am having trouble setting up my network. Every site I cannot get to the front or backend of any of my subdirectory sites. All the themes uploaded correctly and everytime I navigate I get a 404 Error and Object Not Found. I am sure the answer is on here somewhere but I cannot find what is my problem. I hope to hear from someone soon. Thanks

Viewing 15 replies - 31 through 45 (of 47 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Yeah, usually it’s the first one, but … I’m not sure. I don’t use XAMPP and my server came set up correctly :/

    Thread Starter darcmosch

    (@darcmosch)

    Well damn :/ of course I don’t expect you to be an expert in everything. Know anyone who can answer this question and help me?

    The thing that confused me the most is which AllowOverride is WP talking about? I found 3 when I search within the file

    In the vhost section pertaining to the account on your box where the multisite install is.

    Thread Starter darcmosch

    (@darcmosch)

    in the httpd.conf file?

    Yes, because that’s where the vhost entries are…

    Thread Starter darcmosch

    (@darcmosch)

    Ok, here is what I’ve done. I did a fresh reinstall of both XAMPP and wordpress 3.1.2. I have done exactly what the steps in the codex have called for.

    I have added to wp-config.php:
    define('WP_ALLOW_MULTISITE', true);
    AND

    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', false );
    $base = '/wordpress/';
    define( 'DOMAIN_CURRENT_SITE', 'localhost' );
    define( 'PATH_CURRENT_SITE', '/wordpress/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );

    Next, I created the blogs.dir

    Then created an .htaccess in htdocs and it has these lines of code

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

    I still have the exact same problem where only the HTML shows up no CSS, JS, nothing else

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Is the htdocs folder the same place where your wp-config.php folder is?

    Note: You CANNOT have WordPress MultiSite in a subfolder unless the URLs include the subfolder.

    In single site, you can install WP into domain.com/folder and have it run out of domain.com – You CANNOT do this with MultiSite unless you’re super savvy with httpd.conf

    Thread Starter darcmosch

    (@darcmosch)

    Ok, it’s
    htdocs/wordpress/wp-config.php

    Is it that it’s looking for all the info in htdocs and not htdocs/wordpress?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Your .htaccess should be in htdocs/wordpress/ then.

    I still have the exact same problem where only the HTML shows up no CSS, JS, nothing else

    And the problem is still the same – it does not matter what you do in that folder if your local setup will not read that htaccess file. You can fiddle with it till the cows come home, but if it ain’t being read, there’s no joy.

    Reinstalling it will not fix it.

    Thread Starter darcmosch

    (@darcmosch)

    Lol it really was something extremely simple, just like always. Thanks for your help Ipstenu! You are a headache saver! Plus you also taught me a lot about how servers work and thanks to you as well Andrea_r!

    Thread Starter darcmosch

    (@darcmosch)

    Ok, so I have one more problem which comes from the blogs.dir, I can’t upload media to the blogs. I have changed all of my C:/xampp to writable and still same problem. I have heard changing its ownership to nothing would fix it but I am not sure how to do this.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    You have to make the \wp-content\blogs.dir folder writeable, specifically. Make sure it is, and that its children inherit permissions.

    Thread Starter darcmosch

    (@darcmosch)

    Right, by right-clicking it changing it from read only.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Yeah, Windows man. *sigh* Why they think THAT is sensible…

Viewing 15 replies - 31 through 45 (of 47 total)
  • The topic ‘Subdirectory Problems’ is closed to new replies.