WordPress.org

Support

Support » Localhost Installs » [Resolved] local sub-domain multisite login problem ?????!!

[Resolved] local sub-domain multisite login problem ?????!!

Viewing 7 replies - 1 through 7 (of 7 total)
  • I have the same problem with a brand new 3.3.1 install… please help!

    I have also the same problem! waiting for help!

    Actually i solved the problem (it wasnt a real problem i think) you just have to have the main site of the multisite hav the root url

    my problem was that i wanted to have all sub-sites of multisite as sub-domains eg. en.domain.com, el.domain.com etc
    this is wrong (this is right but for wordpress is wrong) the main (first) sub site has to have the root url ie domain.com

    This was my problem, of course you also have to setup your vistual hosts correctly in XAMPP or Apache and define server alias in virtual host entry as

    ServerAlias domain.com *.domain.com

    Also you have to setup the hosts file (if local) on your local machine

    Hope this helps

    Thank you for your fast answer. In my case the root folder of my webpage is already in use, so I wanted blog.domain.com and blog2.domain.com etc., now i have seen that this setup is not supported by the native wordpress network!
    An interessting discussion on this subject is here:
    http://wordpress.org/support/topic/using-subdomains-with-all-blogs-at-the-third-domain-level?replies=20

    It is relatively easy to alter wordpress core to have this functionality
    i think it’s not more than 3 lines of code
    but you would have changed the wordpress core with all consequences (no update etc..)

    That would be too much for me, I’m not an wordpress expert, just stubborn and overambitious, I will try next the domain mapping plugin!

    The domain mapping plugin is when you want to map the subdomains to different urls but still they have to be created in the first placce as wordpress wants them.
    im not sure but maybe it will work
    Try it and post back here your experience for everyone else to see.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] local sub-domain multisite login problem ?????!!’ is closed to new replies.