• Resolved smiro2000

    (@smiro2000)


    Hello everyone i’m having some issues setting up a multisite network and would appreciate some advice or links to relevant existing documentation or threads.
    the goal
    to setup a multisite installation as follows
    wp.mydoma.in <– primary installation (content here is irrelevant really)
    –myotherdoma.in <– another domain served by the network
    –sub.mydoma.in <– subdomain of the above
    –yetanotherdoma.in <– more domains served by the same network
    i would also like for these to be stored in separate databases

    my background
    as a disclaimer i don’t work with wordpress very much as i have specialized more in drupal. Having said that I might simply be trying to use this setup the wrong way and thinking it is supposed to wok the same way as drupal does.
    i have installed a simple LAMP stack on a Deb6 VM (so i have root access and can edit apache configs etc…), and installed the wp-netwok with subdomains
    here is an outline of my .htaccess wp-config and apache vhost configs
    https://pastebin.com/0VGXeycd
    i currently have 2 sites installed as
    wp.idea-team.org <– primary / dir
    –wbblog.wp.idea-team.org <– secondary / dir
    with this setup i’m able to see the two sites and administer them individually by loging in as superadmin

    my problem
    when clicking on a link to a post, page, or uploaded media i’m redirected to a 404 error. as i mentioned the front pages and admin interfaces work properly though.

    thanks again, hopefully i’ve been clear enough, and you will be able to help me fix this issue and achieve my end-goals.
    -miro

Viewing 4 replies - 1 through 4 (of 4 total)
  • and thinking it is supposed to wok the same way as drupal does.

    It doesn’t. ??

    Also, you’ve got a few different questions in here all jumbled up.

    your 404s mean your permalinks aren’t working. Resave ’em, see if that clears them up. If not, apache is not reading your htaccess file.

    For different TLDs use the domain mapping plugin in the repo.

    For multiple dbs, use shardb or hyperdb, but I gotta say – you really don’t need to unless those sites are HUGE (hundreds of thousands of posts each) or you’e making 500+ sites.

    Thread Starter smiro2000

    (@smiro2000)

    Hi Andrea_r,
    thanks for the super fast reply!
    You where right, and i’m a little embarrassed to have overlooked the “AllowOverride None” rule in my apache config >.<
    obviously that fixed everything, and it all seems to be working well!
    i installed also installed the domain mapping plugin and it seems to work.
    I’m a bit confused at exactly what it does though…
    I initially installed the domain mapping plugin and mapped ‘example.com’ to ‘sub.wpnetwork.com’ and when i navigated to example.com i was simply redirected to the subdomain.
    Then i went and changed the domain name in the site settings from sub.wpnetwork.com to example.com and wasn’t redirected…
    Seems almost like i don’t need the domain mapping plugin?
    Thanks again ??

    THe domain mapping plugin handles the login and stuff, so yes you still need it.

    you;re not supposed to edit the site details, now you cant unmap it.

    you missed the setting to make the mapped domain the primary domain for that site – which is why it kept redirecting.

    Look under the single site’s Tools menu. Not the network admin -> domain mapping menu.

    Thread Starter smiro2000

    (@smiro2000)

    wow yes i totally missed that …
    i have to say i’m impressed, this solution is quite elegant!

    i appreciate your help very much Andrea_r
    Thank You!

    ps=changing topic to resolved status

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Network setup problems’ is closed to new replies.