The MU forums have moved to WordPress.org

Problem with fancy urls (8 posts)

  1. Exastate
    Member
    Posted 18 years ago #

    I've setup WordPress MU @ blogs.exastate.com. The base is set to '/' yet when ever I go to setup permalinks, I choose this:

    http://blogs.exastate.com/index.php/2008/06/sample-post/

    Yet upon submitting, it sets it to Custom Structure, which has /blog before the input box. Why is this if I told it the base is /? Everything just redirects back to this index... It's rather silly and /blog should NOT be there.

    How do I resolve his?

  2. Trent
    Member
    Posted 18 years ago #

    Is everything set correctly in your .htaccess file? It seems like that might be the problem here.

    Trent

  3. andrea_r
    Moderator
    Posted 18 years ago #

    Does the main admin blog still stuff /blog/ in there? It did at one point.

  4. tdjcbe
    Member
    Posted 18 years ago #

    http://blogs.exastate.com/index.php

    When you installed mu, you didn't include the 'index.php' bit as part of your server address, did you? Check the wp_site database table and let us know what the url is in there please.

    edit: You're not running php as part of a cgi program, are you? I remember someone else having that problem previously.

  5. lunabyte
    Member
    Posted 18 years ago #

    Typically, at least with WP, it will automatically add /index.php/ on IIS.

    Although it may also do it if mod_rewrite isn't present on occasion, but I haven't seen it do that myself.

    Of course the download page says it requires Apache... but who reads that stuff.

    "Does the main admin blog still stuff /blog/ in there? It did at one point. "

    In subdir mode, of course it still does.

  6. elmiller
    Member
    Posted 18 years ago #

    I'm having the same issue as Exastate after switching to subdirectory mode. At first, category and date archive pages weren't working. If I typed in domain.com/category/announcements or domain.com/2008/06/30, it would interpret it as a request for a blog named category or 2008. After resetting the permalink structure, I was forced into the custom structure prepended by "blog". Now my archive urls work, but they include "blog" in the url.

    This only affects the main blog, so I assume WP was coded this way to solve a problem with some permalinks.

    I interpret the following as evidence of my theory;

    "Does the main admin blog still stuff /blog/ in there? It did at one point. "

    In subdir mode, of course it still does.

    Am I right?

  7. andrea_r
    Moderator
    Posted 18 years ago #

    Yep.

  8. lunabyte
    Member
    Posted 18 years ago #

    Pretty much.

    In subdirectory mode, the main site will have /blog/ added to it. That way MU can keep it separate from user blogs.

    Without it, it would try to serve (as you saw) a user's blog instead of the main blog.

About this Topic

  • Started 18 years ago by Exastate
  • Latest reply from lunabyte