WordPress.org

Ready to get started?Download WordPress

Forums

Login to all sites at once? (5 posts)

  1. thelaw
    Member
    Posted 2 years ago #

    Here's a unique problem I'm having. Let's say I have 4 sites on multisite in subdirectories:

    coolsite.com/
    coolsite.com/sports
    coolsite.com/movies
    coolsite.com/store

    The problem: If you login to the main site in the root, you are not logged into the other sites and must login to each one of them separately to technically be logged in. Is there a way to be logged into all of them at once?

    To synchronize the users I am using the Multisite user management and orphanage plugins. Unfortunately I don't see a login function for Multisite that says "login once and you're logged into the other sites."

    I set up the site as multisite because the /store/ has an ecommerce directory that needs its own home page, separate plugins, etc. as opposed to the sports and movies which may have their own too. While each of these are separate "minisites" they are really the same site. Technically, the other way to accomplish this would be a horrible pain - all in one site and create categories and subdirectories to try to hash this out. Ugly. :)

  2. Jonas Grumby
    Member
    Posted 2 years ago #

    Seems like you could do this with a single-site installation. When you say "needs its own home page" what does that mean? Needs a separate php template for layout purposes? Why do users need to be logged in anyway?

  3. thelaw
    Member
    Posted 2 years ago #

    What do you mean "single site installation?" - technically... perhaps that could work. But there are a number of reasons why it seemed that it would be a terrible pain.

    For starters, I have a sports magazine and a movies magazine on the site. I also have a storefront. Each of these is its own "blog" in itself with many categories. The sports magazine has 100 categories and subcategories in total. Then you also have the storefront which is essentially a blog that is an e-ccommerce storefront. What I'd like ideally is multiple blogs with just one user table and user metadata.

  4. Jonas Grumby
    Member
    Posted 2 years ago #

    That makes sense but what is the reason for logging in?

    Seems like each magazine could (possibly) use a custom post type with its own categories and taxonomies. That would allow people to navigate them separately and also allow you to make custom php templates so they could each have their own look. Not sure what you are using for ecommerce. I guess if you have already built out the multi-site plan you probably don't want to have to redo it. I don't know of any way to have users log into multiple sites automatically.

  5. thelaw
    Member
    Posted 2 years ago #

    Jonas - thanks. I wouldn't mind redoing everything if it made things easier. I'd opt for that in a second despite the work.

    Yes, each magazine would need its own categories and taxonomies. But they also each need their own themes too. Each one would also require its own plugins. What's nice about multisite is that you can separate each blog into its own separate domain without conflicts between the other blogs. Think about having to run 50 plugins on one site versus 10 for all and 10 additional plugins her site.

    For e-commerce I'm evaluating Jigoshop, Woo Commerce, Cart 66 and Shopp. They all have pros and cons. Bottom line is though that the plugins in these shops (and special features) can be a real challenge to manage when you have other areas of the site. Multisite works great for this.

    I guess bottom line is that I'm looking for what many have pursued as the holy grail -- multiple sites, one user database. It really shouldn't be that difficult to do as, technically, all you need to do is have all user records point to the root blog in multiblog. There might be a little more to it but at least for profile and basic metadata, that should do the trick.

Topic Closed

This topic has been closed to new replies.

About this Topic