The MU forums have moved to

next page link error (8 posts)

  1. cvera
    Posted 19 years ago #

    i notice a problem on my homepage:
    The "Next Page" link is pointing to:
    and there is an extra "_wpmu/wp-inst/_"there, so this link don't

    I check up the code:

    <div class='STORYCONTENT' align='middle'>{posts_nav_link}</div>

    It seems like no problem here. I don't know how i can fix it.Any One can help me here?

  2. tkreucher
    Posted 16 years ago #


    Is this a common problem? I have been searching all day to try and find a solution for this. We have a WPMU installation on our intranet, everything is working fantastically except for the "Next Page >" link at the bottom of the Home page. The link SHOULD be:


    But instead it is linking to:


    Which triggers a 404 error. I can manually remove the extra /wpmu/adc-promo, and that will bring up the next page of posts properly, AND when I click on the Previous Page link and return to the original Home page, the Next Page link at the bottom is now linked properly without the extra /wpmu/adc-promo.

    I'm trying to figure out where I need to change this so it works properly.

    Our installation is subdirectory based, and we are using the Spotlight theme. We have date and name based Permalinks.

    I'm thinking I must need to do something with The Loop, but I can't figure out which file to edit? I'm still relatively new to WordPress.

    Any ideas? Let me know if I need to provide further details about our installation.

    Thanks to anyone who can shed some light on this.

  3. SteveAtty
    Posted 16 years ago #

  4. tkreucher
    Posted 16 years ago #


    You rock! :) That was just where the problem was, in the link-template.php. I was actually digging through the file, so I was kind of in the right place, but just hadn't been able to figure out the exact line. Commenting out line 437 did the trick!

    Thanks again! You made my day!

  5. SteveAtty
    Posted 16 years ago #

    Glad I could help...

  6. dsader
    Posted 16 years ago #

    In .htaccess instead of hacking core file:

    # force a trailing slash for dirs fixes /demo/demo/page/2/ error for non-vhost
    RewriteRule !\..{2,4}$ - [C]
    RewriteCond %{REQUEST_URI} !^.*/$
    RewriteRule ^(.+)$ /$1/ [R=301,L]

    I have a 1.2.4 install with this, haven't tried on a 1.3 install.

  7. SteveAtty
    Posted 16 years ago #

    But surely it is better from a performance point of view to remove the line rather than add another Rewrite Rule.

    Actually if it only affects no v-host installs then I guess it needs wrapping in a if statement and rolling up into the code base

  8. dsader
    Posted 16 years ago #

    Revive the trac ticket:

    Donncha's says this is the fix.

About this Topic