WordPress.org

Ready to get started?Download WordPress

Forums

WP multi site, surprise surprise, no instructions on how to (11 posts)

  1. presseroo
    Member
    Posted 3 years ago #

    ... how to get the sub domain vs. sub directories issue solved??

    When i installed my multi site test site the initial WP 3.01 install was already older than a month.
    Is it because of that that i never saw any other option in my NETWORK page??
    I only had

    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', true );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'freelancer.0fees.net' );.

    using the subdomains does not work, after installing 2 new users / sites i got only redirected search results "not found".

    So, does this mean i tried this stupid (unfinished) WP 3.01 multi site crap for nothing, or, is it possible to simply switch the
    define( 'SUBDOMAIN_INSTALL', true );
    to
    define( 'SUBDOMAIN_INSTALL', false );
    or how can i work around this to get it working please???

    Kind of thoughtless of WP to come up with such "solutions" instead of first working things out properly and make them doable for anyone at any time - like most everything else in WP is,

    Any suggestions?

  2. This is actually all mentioned on http://codex.wordpress.org/Create_A_Network

    Yes, just switch
    define( 'SUBDOMAIN_INSTALL', true );
    to
    define( 'SUBDOMAIN_INSTALL', false );

    And as we always tell people, the MultiSite stuff is harder and requires you to be more savvy with server stuff.

  3. Kind of thoughtless of WP to come up with such "solutions" instead of first working things out properly and make them doable for anyone at any time -

    Actually, a great deal of thought went into this. It's only a stop-gap solution, as the devs did feel it would have been far worse to let you pick subfolders, and then hose all your exisiting permalinks.

    They could have quickly left out the /blog/ in the subfolder permalinks, but there's currently no other way to prevent URL collisions with blogs that have the same names as page on the main site. That would have taken some time and 3.0 went 2 months over schedule.

    So preventing you from picking this, but still allowing a way to dig in an overriding it was a compromise.

    As Ipstenu said, considering multisite requires some sort of server knowledge, or at the very least being cognizant enough to ask your webhost support team if they even allow this more intensive feature, making it "doable for anyone at any time" was considered a bad idea.

    As someone who was fairly involved in the whole process, it was a good call.

  4. presseroo
    Member
    Posted 3 years ago #

    Thanks a bundle for the info.
    I already did do the
    define( 'SUBDOMAIN_INSTALL', false );
    thing, at first a bit of another surprise no one told me of, now i found the 2 previously installed but not working sub domains simply changed into / meaning i had 3 sites but all pointed to the main URL!!!!

    Anyway, i could figure that (partly i guess) out myself, i simply added 2 new sites, and this time they where created as subdirectories correctly.

    But,
    http://freelancer.0fees.net/king/
    and
    http://freelancer.0fees.net/queen/
    are at present without a Theme attached to them, what is missing here??
    And eventually even more curious to me,
    how does "king" or "queen" login to their respective sites please??
    I tried to simply add
    http://freelancer.0fees.net/king/wp-admin
    but that is a "not found" result, i tried to use the main Admin login and use the pwd and usr name for either, king or queen, but i ended up in the actual main Admin where all the posts and pages of the main site where showing - instead of nothing as there was for each of the new sites, how is this to explain / do so that king only gets logged into his castle and queen into hers and nothing else???

    P.S.
    Nope, installing this multi site thing is not really complicated, the complication comes in exactly at situations like mine, where things don't go as supposed to according to the instructions, in other words, the unexpected issues are what gives it a certain learning curve, but that is exactly what i am testing this for, to learn it, also if things do not go as expected - and maybe your answers (hopefully to still come) can be of good use for others that come across the same issues with WP multi users installations??

  5. presseroo
    Member
    Posted 3 years ago #

    Oh hello,
    i got it, i found it at the very bottom of
    http://codex.wordpress.org/Create_A_Network
    i also had to change the .htaccess
    and apparently i also had to
    Enable administration menus Plugins tick this ON.
    There is one final question i have not yet found the answer for though:
    At present i have "king" and "queen" on the WP default Theme, not on the same Theme i use for the main page - oh, it looks like i have to change the user role from Editor to Administrator for "king" and "queen" and go into each of the sites Admin and activate the Theme i want to use wow, you just talked me into it......

    Now the final step of this entire process, the grand ol idea would of course be to be using the same Theme for the entire site with each Racing Team user - but give each team member his / her own top header image!
    Currently the additional sites use apparently the exact same Theme / style sheet of the Theme as main site, hence the top header image is on each site the exact same, how can i change this??
    (Even logged into "king" as Administrator does not show me access to the Themes files)....

    Is the only way to achieve this the old fashioned style sheet hack like

    body.page-id-7 {

    background-image: url('somesite/sometheme//images/someimage.jpg');

    background-repeat:no-repeat;

    background-position:left top;

    background-color:#00040e;

    }

    body.page-id-16 {

    background-image: url('somesite/sometheme//images/someotherimage.jpg');

    background-repeat:no-repeat;

    background-position:left top;

    background-color:#00040e;

    }

    - where probably "page-id-.." would have to be replaced by something else???

  6. But,
    http://freelancer.0fees.net/king/
    and
    http://freelancer.0fees.net/queen/
    are at present without a Theme attached to them, what is missing here??
    *snip*

    - and maybe your answers (hopefully to still come) can be of good use for others that come across the same issues with WP multi users installations??

    Actually, I went over this in the sticky at the top of this forum, and in dozens, if not hundreds of threads where people had the same issues.

    I did see you found the htaccess file bit in the codex, which is funny, because in the Network admin area, it DOES instruct you to do this. Guess you missed it?

    Currently the additional sites use apparently the exact same Theme / style sheet of the Theme as main site, hence the top header image is on each site the exact same, how can i change this??
    (Even logged into "king" as Administrator does not show me access to the Themes files)....

    Is the only way to achieve this the old fashioned style sheet hack

    Again, you're running a network of sites much like WordPress.COM does. Only super admins can edit themes, and yes all theme files are shared.

    no, you don't use a css hack. use a plugin, in fact wordpress.com has so kindly released the same one they use for their paid css upgrade.
    http://wordpress.org/extend/plugins/safecss/

    just change the header image on each site, no need to put in page specific IDs . no, you can't make blog-specific IDs there.

    oh, it looks like i have to change the user role from Editor to Administrator for "king" and "queen" and go into each of the sites Admin and activate the Theme i want to use wow, you just talked me into it......

    You can set any theme you want to be the default on new site by typing:

    define(‘WP_DEFAULT_THEME’, ‘theme-folder-name’);

    in the wp-config.php file.

  7. presseroo
    Member
    Posted 3 years ago #

    Thanks for the info again Andrea.
    I did get the CSS plugin you mentioned and i see what you mean, it gives me basically a seperate new CSS code sheet to overide or add whatever to the existing Theme CSS, and this individually for each site, that's great for someone like me who always goes right into the Themes style sheet and edits things in there, even though i know i get into trouble with that in case of a Theme update.....

    So far so good, but - talking of header images, where do i place the images that are specifically used in one of the added sites but not the main sites (exactly such as different header images for each site)??

    Example as is at present:
    In my main sites Theme CSS i have

    #header{

    height:278px;
    width:100%;
    overflow:hidden;
    background: #000 url(images/rtb-cart-top-logo.jpg) repeat-x top left;

    }

    In my subfolder additional user site i added

    #header {
    height:278px;
    width:100%;
    overflow:hidden;
    background:#000 url('images/head.jpg') repeat-x top left;
    }

    into the CSS Stylesheet Editor
    NO IMAGE SHOWING, no real surprise, as the image is in the main sites Theme - oh, i got it, in such cases i have to use the full URL / path tothe image, yep, that works, so we're all done installing the new multi user WP, kind of fun.

    Just at the end i'd like to ask you the question i kept on asking myself;
    Is this the way to go (the multi user WP installation i mean) to run a sports club site that gives each team member his own blog / pages and independant Admin login /area - or would some Role management with only a single WP site set up have been a more elegant or leaner way to achive the exact same thing???

    (i did initially try and research stuff with plugins to a single WP site like
    members
    restrict-categories
    role-scoper
    capsman
    just could not grasp how all these could be used to restrict each club member to his blog or page and see nothing else in his Admin area and have his own blog, not just a "category within one single blog for all")

  8. presseroo
    Member
    Posted 3 years ago #

    Oh, and now the silly question of the day - how can i put each new site into my main sites MENU ??
    Looks tricky.
    The way i started to try is amateurish
    http://freelancer.0fees.net/
    that - i hope - can't be it.
    Menu point
    "Drivers" should not link to anything, but sub menu point "King" or "Queen" should lead directly to the respective sites
    , how could i possible implement this??

  9. Is this the way to go (the multi user WP installation i mean) to run a sports club site that gives each team member his own blog / pages and independant Admin login /area - or would some Role management with only a single WP site set up have been a more elegant or leaner way to achive the exact same thing???

    It can be. There really are few perfect answers for all people. From what you've said, yes, it's doable.

    just could not grasp how all these could be used to restrict each club member to his blog or page and see nothing else in his Admin area and have his own blog, not just a "category within one single blog for all")

    http://wordpress.org/extend/plugins/wp-hide-dashboard/

    Depends what you mean by 'restrict' though. Remember, you're running your own version of WordPress.com, so everyone has 'access' to everyone else's site, but only as subscribers. If you use the plugin I mentioned, while they'll be able to see the backend, they can't do jack unless they're admins :)

  10. Menu point
    "Drivers" should not link to anything, but sub menu point "King" or "Queen" should lead directly to the respective sites, how could i possible implement this??

    Create a custom menu. Put the links in.

  11. presseroo
    Member
    Posted 3 years ago #

    Sorry for the late answer, i caught the flu, and my lappy an HD collapse, so i had to spend the weekend COMPUTERLESS - what a life that is!
    Yep, i figured it also out, custom menu, i just could not find it because the Theme i chose did not have it built in already, but instructions on coding it in, so i can only say thanks for guiding me through the multi user setup process successfully.

Topic Closed

This topic has been closed to new replies.

About this Topic