Forums

2 blogs on 1 site - Can it be done? (8 posts)

  1. Arpana
    Member
    Posted 8 years ago #

    Hi there,
    Is there a way to have 2 blogs on 1 site without installing 2 full versions of wordpress?
    Thanks

  2. NuclearMoose
    Member
    Posted 8 years ago #

    I've been snooping around the forums looking for the answer to a similar question. Looks to me like one possible solution is to have Blog A be simply all posts of one category, and you have to alter some code to only display that category, while Blog B is all the posts of another category, and its page would have similar code hacks to display only that category. I'm not conversant enough in PHP to help you directly, but I've seen a few posts around that suggest this kind of approach. Likely there are others, as well. Try doing a couple searches on all the forums, and you might see the posts that I found.
    Good luck, and please let us know what solution you ultimately use!
    Craig.

  3. OperaManiac
    Member
    Posted 8 years ago #

    i think using 2 categories of a single WP Blog to generate 2 different pages is the only way...

  4. Laughinglizard
    Member
    Posted 8 years ago #

    I abstained from this conversation because there could be a bunch of different answers to your question and I was waiting for one of the admins to jump in. Theoretically, it is very possible to have more than one blog inside a single wordpres installation. There is a variable embedded inside WP called blogID which, much like MT, can point to a bunch of very different blogs being generated from the same code. However, some of the code has been hardset to look at blogID = 1, thus limitings its power. Also, because WP generates pages on the fly (as requested by the visitor), your index file will will have to contain more input to differentiate between various blogs. (e.g. .../blog/index.php/blogID/2 or something) I would say that if you are (more than a beginner) php programmer and are willing to be adventerous, give it a shot.

  5. guboogi
    Member
    Posted 8 years ago #

    i actually found a better way (IMO) to do this, so if you have problems with (or don't like) my previous method, let me know.

  6. Anonymous
    Unregistered
    Posted 8 years ago #

    Hi there Guboogi,
    Sorry for the delay in getting back to you I have been away a bit :)
    The links are not important as I have my own xml links working. The only area that I would use is the news/blog area.
    I will have a go at this - thanks!
    Arpana

  7. paperlion
    Member
    Posted 7 years ago #

    Looking at the dates, this all seems to be pre - 1.2.
    After reading Craig Hartel's Multiple Blogs recent (May '04) piece in the Wiki (is that you Nuclear Moose?) I wanted to ask him if adjusting the blog = 1 code was no longer necessary, since he didn't mention it, but was then surprised that the wiki didn't seem to allow any hecklers (or well meaning others).
    Also, that article didn't mention what problems if any might 'happen' if setting up the multiple blogs on multiple domains?! Would it matter if the multiple domains were on the same server?
    Thanks.

  8. paperlion
    Member
    Posted 7 years ago #

    Must be dated. Am starting another thread at 'multiple blogs and blogid'.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.