WordPress.org

Ready to get started?Download WordPress

Forums

modrewrite AGAIN .. nextpage stopped working when I switched permalinks ... (11 posts)

  1. blakekr
    Member
    Posted 8 years ago #

    When I switch permalink structure from year/month/date to category/postname, the <!--nextpage--> token has stopped working.

    Does anyone PLEASE know a way to get it going again ... presumably fixing something in .htaccess???

  2. Chris_K
    Member
    Posted 8 years ago #

    when you changed your Permalinks, did WP mention that it couldn't write to .htaccess and offer you the code to put in it?

  3. blakekr
    Member
    Posted 8 years ago #

    No, but I see where you're going .. let me wipe it and see if I can get wordpress to rewrite everything ...

  4. blakekr
    Member
    Posted 8 years ago #

    Hmm, no, it appears to be writing to .htaccess just fine. I put in a temporary "category base" and reverted, and both times wordpress rewrote the .htaccess accordingly, but nextpage was still broken in both cases.

  5. Chris_K
    Member
    Posted 8 years ago #

    Are you using %category% in the main "Common Options"? I thought that guy was only for "optional".

  6. blakekr
    Member
    Posted 8 years ago #

    I'm sorry, I don't quite know what you mean by "common options"? (I'm kind of a WP newbie.)

    My permalinks structure is this exactly:

    /%category%/%postname%/

  7. Chris_K
    Member
    Posted 8 years ago #

    Well, look at your Permalink page. "Common Options" is there :-)

    And I'm guessing that's where you have that permalink structure.

    If you switch back to year/month/date everything works as expected?

  8. blakekr
    Member
    Posted 8 years ago #

    I may be being REALLY "ADD" today, but all I see on my permalinks page is a "Structure:" field and a "Category base:" field. I'm using 1.5 if that's why ...

    Anyhow, yes, it works fine if I use the /%year%/%monthnum%/%day%/%postname%/ format. Seems like a mod_rewrite issue, but that's serious voodoo and when I go in there without a good idea of what to fix, bad things happen.

  9. Chris_K
    Member
    Posted 8 years ago #

    OH! Ok, sorry. Been awhile since I used 1.5x.

    So in general your mod_rewrite rules are working, just not when you include %category% in the permalink structure. I can sum it up, but I'm plum out of ideas. Hopefully someone brighter will wander by!

  10. blakekr
    Member
    Posted 8 years ago #

    Thanks though, HS! I appreciate it.

  11. mendezki
    Member
    Posted 7 years ago #

    Any news on the %category%/%post_name% pagination problem, blakekr?
    Can't seem to find a solution in the forums, or maybe not looking hard enough..

Topic Closed

This topic has been closed to new replies.

About this Topic