The MU forums have moved to WordPress.org

Too Many Subdomains (8 posts)

  1. trigatch4
    Member
    Posted 17 years ago #

    I have a vbulletin forum at my main http://www.domainname.com so cannot put WPMU in that directory (as far as i know). So, I set it up in a Sub.DomainName.Com which worked fine.

    My problem is that NEW blogs are given USER.SubDomain.DomainName.Com when I simply want them to be located at User.DomainName.com.

    Any suggestions?

  2. drmike
    Member
    Posted 17 years ago #

    Can't be done. What we suggest is use wpmu in a subdirectory method as SubDomain.DomainName.Com/user in your case. The domain you use is the base where all the other sites come off of.

  3. trigatch4
    Member
    Posted 17 years ago #

    Is there a way to change my current installation to use the subdirectories instead of folders rather than reinstalling?

  4. drmike
    Member
    Posted 17 years ago #

    You'd wind up having to go though and edit 10 - 20 records for each blog plus the sitewide tables.

    I'd vote for reinstall.

  5. trigatch4
    Member
    Posted 17 years ago #

    thanks drmike for your help
    that answers it all.. you're quick!
    grazie

  6. lunabyte
    Member
    Posted 17 years ago #

    Actually, you "can" make it produce the same level subdomain, while MU is also running on a subdomain. There's a couple three files you'll have to edit, and something to do with cookies too, but I have done it before.

    If you don't like editing core files, keeping track of your changes, or aren't skilled enough with PHP to modify the code to do it, then skip this idea.

    I don't remember the changes off the top of my head, but if I recall correctly I did post about it here a few months back.

  7. lunabyte
    Member
    Posted 17 years ago #

    While I'm thinking of it, here's what the basic idea behind it was.

    You installed and now have blogs.whatever.tld in your sites table as ID 1.

    You then add an ID 2, and reproduce everything from ID 1, except the domain which you make whatever.tld.

    Then you go through the sign-up process flow and functions, and make sure you tell it to use site ID 2, instead of 1. Which will give you blogs on the same level subdomain as your main blog.

    The wildcard in apache is the same, just that the server name is blogs.whatever.tld. The alias and DNS is still the same as *.whatever.tld.

  8. plusarquitectura
    Member
    Posted 17 years ago #

    trigatch4, I had the same problem than you and Lunabyte answered it (I guess this may be the post you were refering to). You can read the reply here: http://mu.wordpress.org/forums/topic.php?id=5192&replies=23

    Unfortunately I have to say that I didn't succeed on doing that, and I still don't know what did I do wrong :(

About this Topic

  • Started 17 years ago by trigatch4
  • Latest reply from plusarquitectura