WordPress.org

Support

Support » Multisite » Existing Blogs, Directory Structures

Existing Blogs, Directory Structures

  • I have two questions in regards to 3.0 and the multi-user system:

    1.) Can I combine multiple existing installations into a single MU installation? I currently have 4 separate installations I’d like to retain, if possible, upon upgrading to 3.0 and enabling MU.

    2.) Is there flexibility in the directory structuring? I ask because I currently have my site set up with users having one of two options – they either get a wordpress blog only in the directory /name/, OR they get access to the directory wholesale to make a homepage, with a wordpress blog at /name/blog/. Is this possible to maintain while using MU in 3.0?

    If not, am I basically relegated to using /name/ as the blog locations, and using link structure to build a /main/ section or something along those lines for the rest of their content?

Viewing 10 replies - 1 through 10 (of 10 total)
  • 1) yes. Export -> Import.

    2. not really. They get /name/. If they want /blog/ you can sort of wrangle that with your theme files and a custom template with a page names “blog”.

    But they don’t get access to the folder, Nu-uh.

    Along perhaps similar lines, I have a domain where wordpress is installed in a subfolder (example.com/wp/), and a lot is going on in the other subfolders.

    I was hoping I could create a symbolic link in place of the /wp folder that would serve up a network site, but I just tried it and all I got were 403 Forbidden errors.

    Any ideas how this might be accomplished — migrating a blog that’s in a subfolder (without messing up the other subfolders)?

    Thanks!

    I was hoping I could create a symbolic link in place of the /wp folder that would serve up a network site, but I just tried it and all I got were 403 Forbidden errors.

    Yeah, that won’t work with a network.

    Any ideas how this might be accomplished — migrating a blog that’s in a subfolder (without messing up the other subfolders)?

    Depends on the URL structure you were looking for at the end.

    Update: I think I got it working!

    For the symbolic links I was simply using the wrong paths. My host helped me out there.

    When I mapped the domain (using the plugin), I did so as example.com/wp. And under site properties I added /wp to the path. Doing these things lets me pull up the homepage. Awesome!

    But then I ran into trouble when I clicked the permalink. The rewrite rules from the wordpress domain’s htaccess weren’t being applied.

    So I grabbed some old rewrite rules from an existing subfolder install and used those in the htccess at the root of the example.com domain:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wp/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /wp/index.php [L]
    </IfModule>

    And it seems to work! I should test it some more, maybe try image uploads and such.

    @lasershurt: re-reading your post it sounds like your problem is different than mine in that you’re not using domains? I wonder if a modified approach could give you the flexibility you’re looking for.

    I could see putting the wordpress somewhere else — in a subdomain or something. And then for each of your people’s sites create the link to wp either in place of the /name directory, or as /blog inside it.

    Yeah, you’ll need the rewrite rule for file uploads.

    Thanks for the info. I’m hoping Fantastico updates with a 3.0 auto-installer before I get the gumption to make the switch myself and have to do it manually.

    And my users will get over the switch in structure, there’s only a handful of us anyway.

    Oh… it seems that it doesn’t work. I’m not able to login to the site’s admin. Off to do more research into how WP determines if you’re logged-in or not…

    🙁

    I was able to get the login to work using a root cookie plug-in:
    http://wordpress.org/extend/plugins/root-cookie-path-subdomains/

    But the mod_rewrite stuff is being tricky! For both file uploads and pretty permalinks to work:

    RewriteEngine On
    RewriteBase /wp/
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule . /wp/index.php [L]

    But that last line, seemingly essential for the permalinks, rewrites the whole domain into WP — specifically what I’m trying to avoid!

    How can the root .htaccess enable pretty permalinks in the /wp directory without interfering with the other directories?

    Thanks!

    Hey, so I got it all working! Verdict: It IS possible to move one subfolder of a domain into a WordPress network.

    You can read the full explanation on my blog.

    Excellent. 🙂

    I’m sticking that link in my special file. 😀

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Existing Blogs, Directory Structures’ is closed to new replies.