WordPress.org

Ready to get started?Download WordPress

Forums

Thoughts on Implementing Multiple Blogs (3 posts)

  1. Anonymous
    Unregistered
    Posted 10 years ago #

    A simple way to get mulitple blog functionality is to add a new table called simply "blogs" and a new row to every table in the database called "blog_id."
    The blogs table would have information such as blog name, blog description, etc, etc...
    The blog_id in the tables would have the id of the corresponding blog. Then each blog could be called via a variable in index.php (i.e. index.php?b=2). With mod rewrite it would look like each blog has its own directory.
    This functionality is very similar to categories but i would say it would be more like super categories as each blog would have their own seperate categories, users, links, etc.
    It would also be good if you can assign some users/categories/links to multiple blogs instead of having them twice in the database (easily implemented with many to many relationships in the database).
    Any other thoughts/opinions/flames??

  2. Root
    Member
    Posted 10 years ago #

    Sounds good.

  3. Yannick Lefebvre
    Member
    Posted 10 years ago #

    To add to this idea, do not forget to make it possible to select multiple blogs with index.php if you don't have access to modrewrite on your server (as introduced in version 1.2).
    As well, once support for multiple blogs in one installation is implemented, there should be an easy way to import other WordPress blogs into the system after upgrading a first blog to the new database schema.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.