The MU forums have moved to WordPress.org

What I want to do.... (7 posts)

  1. daveturnbull
    Member
    Posted 17 years ago #

    So, I want to run a network of blogs, and this seems the easiest way. So will Wordpress MU allow me to run many standalone sites (as in, with different domains) but off one install of the software?

    Also, is everything in the one database?

    Thnx. :)

  2. dizzy99
    Member
    Posted 17 years ago #

    You could do it this way and point your domains to your individual blogs yes.

    The blogs themselves are all in one database but split obviously into individual tables. Each time you create a new blog / website, you create new tables for that blog / website.

  3. andrea_r
    Moderator
    Posted 17 years ago #

    The diferent domians part requires some tricks, and isn't something that you can just fill in fields in the backend though. just thought I'd warn you that that part was actual work. :)

  4. dizzy99
    Member
    Posted 17 years ago #

    Its a compromise but what i plan on is url forwarding from the domain host. So i could either do url redirect and then it would change to whatever subdomain or sub folder blog i directed to on clicking links or i could do url framing where it would stay as the domain i allocated but not update in the browser when clicking that blogs links.

    I'm not sure how well the second would do in SEO though but it does work.

  5. daveturnbull
    Member
    Posted 17 years ago #

    Hmmm, I really didn't want to do domain forwarding -_-

    @andrea_r - what "tricks" are you talking about? Is there something I could read up on to help me?

  6. andrea_r
    Moderator
    Posted 17 years ago #

  7. djfrey
    Member
    Posted 17 years ago #

    I just implemented something like this and ran in to an interesting issue.

    My setup has multiple domains running off of the same server. I set MU up with subdirectories, so the main MU install is at http://myserver.com/wordpressmu. I have a site hosted on the same machine whose domain is http://server1.com. I wanted the blog to reside in http://server1.com/blog. This issue is that if you create a new site in the wp_sites table, changing the permalink structure will cause some funny issues if the name of the blog is "blog". If you don't set it to / instead of /blog/, changing your permalinks will cause all of your posts to have the format http://server1.com/blog/blog/postname. The "blog" subdirectory is something of a reserved word.

    Normally, you'd want to set up the site with the domain equal to server1.com and the path equal to /blogname/, but if the blogname is "blog", set the path equal to /. The site-specific information stays the same (if you go to the Edit screen under blogs, you'll want to change all of those settings to the correct paths).

    One additional thing - if you have shell access to your server and are having trouble implementing a setup like I described above, the key is to create two symbolic links. If http://server1.com actually exists in /htdocs/server1/ and you want http://server1.com/blog to be your blog, you need to create a symbolic link that points /htdocs/server1/blog to the root of your MU installation. You also need another symbolic link in the same directory named the same as the folder you installed MU into that points to your base MU directory.

    For example, I created one link that points from /htdocs/server1/blog to /htdocs/wordpressmu and another that points from /htdocs/server1/wordpressmu to /htdocs/wordpressmu.

    Hope that makes sense and provides some assistance to you (or someone else!).

About this Topic

  • Started 17 years ago by daveturnbull
  • Latest reply from djfrey