The MU forums have moved to WordPress.org

New Post - Choosing Which Blog (7 posts)

  1. paul_fury
    Member
    Posted 16 years ago #

    I have created two blogs: '/blog/' and '/news/'. Everytime I click on 'Add New' from the 'Posts' menu on the left in the control panel, and then type in the title, it always shows that the post is being assigned to the '/blog/' blog. I can't find anyway to change which blog I am posting to. How can do I choose which blog a post is going to be assigned to?

  2. Person
    Member
    Posted 16 years ago #

    Don't create a blog with the name "blog". If I recall correctly, that's already assigned to the default root blog. (i.e. yoursite.com and yoursite.com/blog/ are the same thing)

    Secondly, to change the blog that you're posting to, make sure you've change the blog backend you're currently in. To do that, go to Dashboard->My Blogs, and then click on "Backend" for the specific blog you want to use. (As an administrator, you can also go into Site Admin->Blogs, and then click 'backend')

  3. paul_fury
    Member
    Posted 16 years ago #

    Thanks, I clicked on "backend" and then "add new" and that worked.

    Ok, I removed the blog titled "/blog/". What if I want a blog named "blog"? Do I just put those entries in the default blog? I noticed that when i go to "http://mysite/blog" it gives a 404 page, but when I goto "http://mysite/news" it will give the index page. Does this mean I am just out of luck with having a blog called "/blog/"?

  4. paul_fury
    Member
    Posted 16 years ago #

    Still need help.

    I want a blog named blog, however when I goto http://mysite/blog it will give the 404 page. So, I thought ok, on the 404 page template I'll just check if the page is http://mysite/blog and load the blog index template myself. This loaded the blog index template I created, but when I use the word press loop, it says there are no entries to display. Any ideas?

  5. paul_fury
    Member
    Posted 16 years ago #

    ok so I had to get a bit creative here. I used a RewriteRule to make "/blog" and "/blog/" go to "/?blog=true" and then check for this in the index page and load the blog index if this parameter is there. Then the proper posts are loaded and "/blog/" can be different than "/". If anyone sees how this could mess something up please let me know. thanks.

  6. paul_fury
    Member
    Posted 16 years ago #

    Still An Issue:

    I'm still having a problem using this method. The problem is that it will only work if I do an actual http redirect, and that will change the url to "http://mysite/?blog=1" instead of "http://mysite/blog". Im ready to give up on having a blog named blog. The only problem then would be if someone typed in something like "mysite/blog/..." then it would give an actual page instead of 404. This seems to be a flaw in Word Press Mu. Any help would be appreciated. Here is my rewrite rule:

    #to make /blog(/) go to the blog index
    RewriteRule ^blog/?$ /index.php?blog=1 [R=301]

  7. andrea_r
    Moderator
    Posted 16 years ago #

    Undo everythign you did.

    "What if I want a blog named "blog"?"

    As stated before, that's added to the permalinks off the main blog. If you want a blog landing page there, go to Settings -> reading.

    See how you can choose a page for the front? Do that.

    Now underneath, there's an option to choose a page to show your blog entries. Not sure if you need to make an empty page or not, but that option should do it.

About this Topic

  • Started 16 years ago by paul_fury
  • Latest reply from andrea_r