WordPress.org

Ready to get started?Download WordPress

Forums

Networks for WordPress
setup & config questions (19 posts)

  1. hkcharlie
    Member
    Posted 2 years ago #

    (ddean, it appears you make all the plugins that interest me, I congratulate you!)

    So I have a multi site WP instllation.

    My main site is http://www.firstdomain.com

    I then set up other blogs. One of which is called http://www.firstdomain.com/mynewsite

    I mapped the domain so this new site is now http://www.mynewsite.com

    I now want to make a new site that is http://www.mynewsite.com/newyork

    I'm assuming this is the plugin to help me to do this, only I'm not sure how to do it.
    I have gone to the Network control panel and it says I have one network http://www.myfirstdomain.com and this network has 10 blogs (which all makes sense) but how do I make http://www.mynewsite.com my new network?

    http://wordpress.org/extend/plugins/networks-for-wordpress/

  2. David Dean
    Member
    Plugin Author

    Posted 2 years ago #

    Haha! I thought your name looked familiar. :)

    If you used Domain Mapping but now want to create a new network, I'm not sure this plugin can help you. I know next to nothing about the domain mapping plugin and what it can/can't do, but here's what will need to be done:

    - undo the domain mapping
    - create the www.mynewsite.com network
    - Move the blog that WAS mapped to www.mynewsite.com to the new network

  3. hkcharlie
    Member
    Posted 2 years ago #

    So I enter the details like this .....

    Network name: My New Site

    Domain : http://www.mynewsite.com

    Path : http://www.firstdomain.com/mynewsite

    Root Site name : First Domain

    ....and create the new network.

    Now I need to do some magic on my domain server ?
    (All my URL's are registered with the same hosting account, so they all have the same DNS anyway.)

    So on my server I assigned the domain "mynewsite" to the dir "firstdomain"?
    This just sent me to the "firstdomain".

    What's missing?

  4. hkcharlie
    Member
    Posted 2 years ago #

    (does this plugin mean I can do away with my domain mapping plugging altogether?)

  5. David Dean
    Member
    Plugin Author

    Posted 2 years ago #

    You're thinking of it too much like domain mapping. Path is essentially just the address of the top-level site on the new network. In most cases, it's simply "/". So, you probably want something like this:

    Domain: http://www.mynewsite.com
    Path: /

    And create the new network. This lets you create sites at /, /newyork, and whatever other path you'd like under that domain.

    If you created one with the settings you supplied, you should delete it.

  6. hkcharlie
    Member
    Posted 2 years ago #

    (I like the layout of the updated plugin.)

    So I have followed the instructions.

    It shows my new network in the network list and when I click on the 1 site that is associated with it (I checked the box to make a site at it's root) I get :

    500 Internal Server Error ..............

    no blog has been created at the root.
    The last line of the server error log is :
    Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.

    Is that relevant, am I off on a tagent or am I just having a hard time?

  7. David Dean
    Member
    Plugin Author

    Posted 2 years ago #

    Sounds relevant to me. Do you still have domain mapping active? Including the sunrise.php file? if so, removing it might help troubleshoot.

    Does it actually report that no blog was created at the root? Or is that the "No site defined on this host" error?

    It sounded like DNS and your web server are set up correctly, since you pointed both domains at the same filesystem location. It wouldn't hurt to turn on mod_rewrite debugging and see what it says if nothing else works out.

  8. hkcharlie
    Member
    Posted 2 years ago #

    Just so I could see how this works correctly, I moved away from my install with mapped domains.
    I went to fresh install of multi site and tried it there.

  9. hkcharlie
    Member
    Posted 2 years ago #

    WELL ...................

    I moved bak to my live site.
    To cut a long story short, I have a working (I believe) second network.

    A lot of my links have broken, for images etc (I'm not sure why, but they are easily fixed.)

    I'm concerned to know whether a single login will keep me logged in across the various networks.

    (I've also noticed a few of my widgets have disappeared that are related to different plugins.)

  10. hkcharlie
    Member
    Posted 2 years ago #

    Hi David, I think I'm moving forward, but it's diffcult to know.

    my questions:

    1) I've created from http://www.firstdomain.com/mynewsite/ two networks, one of them reamins http://www.firstdomain.com and the new one is http://www.mynewsite.com

    I wanted to make a new site "new york" as part of the network of http://www.mynewsite.com
    I have http://www.mynewsite.com/newyork

    This newyork site (on creation) has identical properties to http://www.mynewsite.com , so much so that if I create a new page for the "newyork" website, it appears in the menu of the http://www.mynewsite.com site.
    In fact, it seems quite clear that these two sites are calling the same information.

    When I click on any link in the /newyork/ site, it takes me bak to the relevant page on the http://www.mynewsite.com

    What's going on ?

  11. hkcharlie
    Member
    Posted 2 years ago #

    oh yeah, Q2) If I log into http://www.mynewsite.com I'm not logged into http://www.firstdomain.com

    Is that the way it's meant to be?
    I'd rather it enabled me (or rather my users) to log into the multiple networks.

  12. David Dean
    Member
    Plugin Author

    Posted 2 years ago #

    1 - That's odd. How did you create the /newyork site? I would check your wp_blogs table to make sure everything looks normal.

    2 - the same login will let you log in to all your networks (provided you copied the site_admins sitemeta key, which is copied by default). But because the log in cookie is set with the original network's domain, you have to log in to each separately.

  13. hkcharlie
    Member
    Posted 2 years ago #

    OK - I appear to have moved on.

    (very quickly Q2 ... is there a way I could create something to pull the login information from one network to another and automatically log users in?)

    Q1. I have appeared to move on.
    I removed all blogs and networks and again started from scratch.

    Created the new network http://www.mynewsite.com, I now have a blog there (I think)
    I have a dashboard and the functions to edit it, but when I go to the URL, I just have a plain blank white screen.

    Can I change this blogs blogid in the tables to trick it into thinking it is the blog that I previously created ?
    Is there another answer to this problem ?

    (Thanks for your time DD)

  14. hkcharlie
    Member
    Posted 2 years ago #

    cont ... Q1 : I had edited the path to "/" from "//" because it didn't make sense to me.
    I changed it back and now I have been directed to the "Debugging a WordPress Network" page.
    I hope this helps.

  15. hkcharlie
    Member
    Posted 2 years ago #

    I don't think this (http://codex.wordpress.org/Debugging_a_WordPress_Network)addresses the same issues someone might be facing when using the network plugin.
    I might be wrong.

  16. hkcharlie
    Member
    Posted 2 years ago #

    it appears "//" instead of "/" gets rid of my dashboard as well.
    So I have moved back to "/" for the time being.

    (I feel like I'm walking around in a sandstorm right now!)

  17. hkcharlie
    Member
    Posted 2 years ago #

    I think if I cannot login across networks I will have to revert to my previous solution and give this a miss (although I still need sub domains for my mapped subbed domain. I don't think it's possible, is it?)

    So to revert to how it was before (for other peoples information) you MUST make sure you re-assign all the blogs you want to keep, back to your origional network.

    (I have found this out the very long and painful way)

    If anyone can think of how I can solve my sub domain, in a mapped sub-domain problem.
    Then please let me know.

  18. David Dean
    Member
    Plugin Author

    Posted 2 years ago #

    Q2. I think other plugins have fudged the cookies somehow to create a persistent sign-on, but that's been 1) too much of an assumption about who will be administering each domain, and 2) too far from the purpose of the plugin.

    Your site admin credentials from your original network still work for all other networks, unless you don't want them to.

    Q1. Your path should almost certainly just be "/" and DEFINITELY shouldn't be "//". Your comment triggered a thought: Are you set to use subdomains or subdirectories? If you are set to use subdomains, that could explain a lot of these problems.

  19. hkcharlie
    Member
    Posted 2 years ago #

    deffinately subdirectories. (poor choice of words by me, sorry)

    I think the fact that I can't log in across networks will keep me to look at other options for my purpose.
    (or at least take a longer consideration of my other options).
    I had an exciting time changing everything back from where I got it to.
    Thank you so much for the time you have taken to help me this far.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic