• Thanks for any help:
    Building out a WP MU subfolder site.
    Site has existed for a decade.
    I want to maintain old folder continuity when installing the WordPress 3.0.4 in an MU, subfolder manner.

    1. I moved all OLD folders to archive folder.
    2. I installed WP with MU sites as the OLD folder names.

      domain.com/example (example as subsite)

    3. I moved folder /example from /archive to root.
    4. Subsite domain.com/example breaks with a 403
    5. I rename folder root/example to example2 – no 403

    I won’t argue that the folder’s existence causes WP’s subsite to fail,
    what I need to know is how to have the subsite coexist with an actual subfolder of the same name.

    Old files, images, and more must remain available at the subfolder (www.domain.com/example/image.jpg).

    Can it be done or do I have to go back and rename all 12 subblogs so that they DON’T match my original subfolders?

Viewing 5 replies - 1 through 5 (of 5 total)
  • how to have the subsite coexist with an actual subfolder of the same name.

    You can’t. Can’t have two things in the same place at the same time.

    The folders are *virtual* so you alreayd know they do not exist on the server. If you needed to recreate domain.com/example/image.jpg, then image.jpg will be in the real root of the domain. WP figures the rest out.

    Thread Starter steinAK

    (@steinak)

    Thanks for the confirmation.

    Following your suggestion, I’ve placed the image.jpg file in multiple locations and then tested the URL http://www.domain.com/example/image.jpg in a browser and found:

    domain.com/example.jpg — NO
    domain.com/wp-content/image.jpg — NO
    domain.com/wp-content/blogs.dir/image.jpg — NO
    domain.com/wp-content/blogs.dir/4/image.jpg — NO
    domain.com/wp-content/blogs.dir/4/files/image.jpg — NO

    I did find that URL domain.com/image.jpg works with:
    domain.com/wp-content/blogs.dir/image.jpg — YES

    but that doesn’t solve my problem.

    Can anyone explain where I place image.jpg so it can be called by URL domain.com/example/image.jpg?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Assuming example is the name of a subblog … you don’t.

    Why do you need it to be available from that specific location?

    Thread Starter steinAK

    (@steinak)

    Yes, keeping the names generic as to avoid confusion.

    Maybe this will help:
    Main site is a legislative caucus, Representatives.
    For 10 years each member had files (newsletters, images, press releases, etc.) in their own subfolder off root.
    With an MU site, I’d hoped that I could maintain the subfolder “appearance” with the blogs sharing the name of the folder.

    Since there are thousands of files across a dozen subfolders I am looking for a solution so the links stay unbroken.

    I’m heading towards renaming the subblogs “rep_lastname” and then returning the folders “lastname” to their original location.

    Any other ideas?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Ah. That helps 🙂 Context changes things. And you’re the first ‘legit’ reason to want this functionality that I’ve seen… Downside is I don’t know. You might be able to reupload the images and then redirect with .htaccess, but that’s as far as my brain can guess right now.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can actual subfolders exist with same name as MU sites?’ is closed to new replies.