permalinks break single_month_title (3 posts)

  1. Ruby Sinreich
    Posted 11 years ago #

    Praise Jebus, I finally got permalinks working!
    Now as a result, single_month_title returns nothing (it was working fine before). Any know why or have an alternative tag I can use to put the month & year at the top of monthly archive pages?

  2. Ryan Boren
    WordPress Dev
    Posted 11 years ago #


  3. HerrRau
    Posted 11 years ago #

    Or write into the .htaccess file something like:
    RewriteRule ^([0-9]{4})/([0-9]{1,2})?/?$ /wordpress/viewphp.php?year=$1&monthnum=$2 [QSA]
    where the first half corresponds to your permalink format. In the example, that's 2004/08 (or whatever), but depending on the structure you've chosen it might be slightly different. Compare to the other RewriteRules in your .htaccess
    It worked for me.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.