WordPress.org

Ready to get started?Download WordPress

Forums

WP3.0 and subdomains (6 posts)

  1. Kadr
    Member
    Posted 4 years ago #

    is it possible to have the Network function of WP3.0 make new blogs on subdomains by default?

    So instead of having
    http://www.mysite.com/mygreatblog/
    http://www.mysite.com/anothergreatblog/

    I'd like to have
    http://mygreatblog.mysite.com
    http://anothergreatblog.mysite.com

  2. pubwvj
    Member
    Posted 4 years ago #

    Yes. But the question is, which is better. I think I like the directories better. I am no expert on this topic. Thoughts and reasons one way or the other?

  3. Kadr
    Member
    Posted 4 years ago #

    I like the subdomain style better for esthetic reasons and the blog feels more separate from the main domain.

    Just like on WordPress.com a subdomain feel like: "I have my own place, hosted by someone else". A directory is part of the main site and not a separate place for a distinct blog.

    I think that is also why most big sites (like google) use subdomains for things that are really distinct from each other.

    But to answer my question; if it is possible; how do I do it?

  4. pubwvj
    Member
    Posted 4 years ago #

    Follow Andrea's tutorial at:

    http://codex.wordpress.org/Create_A_Network

    The special coding is here:

    define( 'SUBDOMAIN_INSTALL', true );

    That is in the code it gives you back if it doesn't have direct access to modify your files. But it will ask you which you want and then give you that code to install in your wp-config.php so follow the directions. I have gotten it to work, sometimes. I screwed up some other things. Five out of seven installs worked for me. :}

  5. Actually, the choice between subdomains or subfolder blogs is on the Network install screen.

  6. DougJoseph
    Member
    Posted 4 years ago #

    message withdrawn.

Topic Closed

This topic has been closed to new replies.

About this Topic