The MU forums have moved to WordPress.org

Correcting how the blog-list is displayed in Admin (5 posts)

  1. ladeem
    Member
    Posted 16 years ago #

    I'm sure I'm not the only one with this problem, however I can't find it. I can't set up blogs as a subdomain, but I am pretty happy with setting them up like http://foo.com/blog. However, in Site Admin, all blogs are displayed as if set up like http://blog.foo.com. Of course, when I click on "view", I get "this page cannot be displayed" because the blog is not set up that way. How can I fix this? I also want to display a list of blogs on my home page, but they are linked to the http://blog.foo.com, instead of http://foo.com/blog.

    Am I making any sense? :) Thanks!
    LadeeM

    http://web-princess.com - http://members.web-princess.com

  2. HiMY
    Member
    Posted 16 years ago #

    Log in to your main site under your admin account.

    From the dashboard, click on 'Site Admin' then click on 'Blogs'

    you'll see the (usual) list on blogs created on your wpmu install.

    Choose your problem domain and click on 'Edit' (Inbetween 'View' and 'Backend')

    in all the fields where you see 'url' change them from the (incorrect) sub-domain to what you want, the correct sub-folder location.

    See if that makes the pain go away.

  3. ladeem
    Member
    Posted 16 years ago #

    I tried this - what happens then is that I get an error when I try to view the blog (the standard wpmu "no blog found - check your database" error). This is somehow hard-coded into wpmu when blogs are first created. I have a feeling it's in the wp-functions.php file. When I look at that file, and see how a blog is created in the mysql database, that's how the file tells the database to be corrected. So I went into the database and changed it, and again I get the same error as above. Once a blog is created, it can't be changed. So I would like to know how I should fix it now before many more blogs get created.

    Thanks for your reply, tho, HiMY. :)

  4. HiMY
    Member
    Posted 16 years ago #

    Well..

    ..then.. can you manually create sub-domain pointing into sub-folders via your webhosting company's domain control panel?

    So, yeah the 'blog' would actually be located at foo.com/blog

    but the dns resolution of 'blog.foo.com' would end up being pointed to 'foo.com/blog'

    The sub-domain pointing to sub-folders would all take place via your webhosting company's set up and your wpmu install wouldn't know the difference when its 'list all' blogs is displayed.

    I am doing almost the same thing you are by the way so I recognize the headaches involved :-/

  5. ladeem
    Member
    Posted 16 years ago #

    Well, that works, of course, but I definitely don't want to have to do this all the time. :) Anyway, if any of the programmers are listening, please fix this so that those of us that can't do the virtual sub-domains don't have to mess with this. :)

    Thanks again HiMY. :)

About this Topic