The MU forums have moved to WordPress.org

unable to add blogs under sub-directory type of install (goes to 404pg) (9 posts)

  1. MileHighTechGuy
    Member
    Posted 14 years ago #

    Hi. I'm trying to get sub-directory type of install.

    I have another install on my VPS using subdomain form, which works fine using DNS wildcard, but I can't get the sub-directory install to work (which should not require DNS wildcard).

    My main blog works fine.

    When I add blogs of the form http://domain.tld/blog I am unable to login using http://domain.tld/blog/wp-login.php

    It goes to 404 of main blog.

    http://domain.tld/blog also goes to 404 of main blog.

    So I am unable to add blogs!

    I have Vhost=NO in wp-config.

    Help??

  2. MileHighTechGuy
    Member
    Posted 14 years ago #

    Update: the table wp_blogs within mysite_wordpress db shows that I have the correct blogs created, so it seems like a URL referencing problem making it so that the public URL and backend WP admin for the site refer to 404 page.

    no resolution yet

  3. andrea_r
    Moderator
    Posted 14 years ago #

    mod_rewrite

    It's probably not reading the htaccess file.

    Quick test: check the main blog permalinks. Do they work?

  4. MileHighTechGuy
    Member
    Posted 14 years ago #

    Thanks so much for replying.

    My webhost support deleted the entire plugin folder and the blogs now work. I know plugins are very troublesome, but I never would imagined them causing this type of problem. I'll need to post an update once I find the culprit plugin.

    Meanwhile I had set up the new blog I was trying to launch under my other WPMU install to try to get it going (this one uses subdomains).

    Couple of issues I'm still having:

    1) I am having image referencing problem. After uploading images through media uploader the files seem to upload, but don't show online (even within the uploader).

    I'm not exactly sure how to test the permalinks. I do seem to have a referencing problem with images. The image URL shows as this, but leads to 404pg:
    http://4everyoungmbs.milehighcentral.com/files/2010/03/testimonials.jpg

    Uploader reference URL: http://blog.domain.tld/files/year/month/image-file

    My permalink setup is /%postname%/
    Upload path is wp-content/blogs.dir/5/files

    Do I need to add something to htaccess to account for this so images display?

    2) I added a page named "Links". When viewing the page here, it goes to an Apache "index of links" page outside of my website:
    http://4everyoungmbs.milehighcentral.com/links/

    Another htaccess referencing issue?

    I really appreciate your help! I see you on here a lot...I don't know how you keep up with this forum, but you are invaluable :)

  5. andrea_r
    Moderator
    Posted 14 years ago #

    You said earlier this is a subfolder install. the blog you have referenced is a subDOMIAN.

    that's one problem.

    the images not showing up, the htaccess file MU creates takes care of this URL rewriting if the mod_rewrite issues I noted above are fixed.

    And the last thing with the links page - something about your install is screwy.

  6. MileHighTechGuy
    Member
    Posted 14 years ago #

    Sorry, I've bounced back and forth between 2 WPMU installs, so I may have crossed my wires in explaining. The sitesubscribe.com domain is subdirectory based, the milehighcentral.com domain is subdomain based.

    I think I may have found the issue since at the moment it seems to be working, images and all. Seems it was related to some root htaccess code that VPS from Hostgator initially installed (and I initially left there):

    #vps baseline (this is causing problems with wpmu install)
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    #END// vps baseline
    </IfModule>

    So far so good. Thanks for your help.

  7. andrea_r
    Moderator
    Posted 14 years ago #

    That'd do it, :)

  8. MileHighTechGuy
    Member
    Posted 14 years ago #

    Still having problems (posts on new blogs resulting in 404pg), but not sure if it is related so I started another issue here:

    http://mu.wordpress.org/forums/topic/17339?replies=1#post-96724

  9. umxid
    Member
    Posted 13 years ago #

    hello, i have wpmu installed on tld root directory and then need to add same blog to subdirectory on the same domain, just in different language. so i tried to add another blog from admin panel but it ends up with 404. anyone can you help, please

About this Topic

  • Started 14 years ago by MileHighTechGuy
  • Latest reply from umxid