The MU forums have moved to WordPress.org

http://example.com/wpmu/ turning to http://com/wpmu/examlple/ (36 posts)

  1. donncha
    Key Master
    Posted 17 years ago #

    When people registered new blogs using a url starting with "www" then the siteurl/home variables got screwed up. They had to edit the .htaccess to disable the redirect to do it so it didn't happen very often.
    Much more common were cases where people installed using a URL starting with the "www" hostname. That did the same, screwing up URLs in the options tables.

    get_blogaddress_by_id() was also broken and presumed that a URL starting with www was the main blog. I simplified the code and it works much better now!

  2. lunabyte
    Member
    Posted 17 years ago #

    Cool.

    I was just wondering how it was ending up being inserted, when the pre-r915 version looked to have handled it.

    Sometimes you just have to "accept" that it works, and hush. :D

  3. drmike
    Member
    Posted 17 years ago #

    Um, I believe this is more of an issue with the parts of the URL being switched around upon installation of WPMu right at the beginning, not once it's been setup.

  4. lunabyte
    Member
    Posted 17 years ago #

    Yes, I am aware of that.

    Maybe I'm on a whole 'nother level here or something.

    I know it was a during-install problem, but what's at the root of it.

    Looking at the pre-915 version of index-install, it shouldn't have been an issue, yet it was still occurring. Donncha was able to reproduce it by installing while the URL was http://www.domain.tld in the actual browser, but the reference in index-install went off of what was submitted in the install form.

    So something was getting "confused", so to speak, in the install file. But, I'm curious about the root cause of it, and why it acted the way it did.

    It's an oddity, and it makes me curious.

  5. donncha
    Key Master
    Posted 17 years ago #

    lunabyte - see what I said about get_blogaddress_by_id()
    If you reverse the changes to that recently then the bug comes back!

  6. lunabyte
    Member
    Posted 17 years ago #

    No kidding, huh?

    That's quite peculiar indeed.

    Funny how that stuff works.

About this Topic

  • Started 17 years ago by sasidhar
  • Latest reply from lunabyte