• pankaj

    (@pankaj)


    Hi All
    There seems to be a bug in the rewrite rules genrated by default install of mingus release. For the individual post with the setting of
    /archives/%year%/%monthnum%/%day%/%post_id%
    It spits out
    RewriteRule ^archives/([0-9]{4})?/?([0-9]{1,2})?/?([0-9]{1,2})?/?([0-9]+)?([0-9]+)?/?$ /haanbhai/index.php?year=$1&monthnum=$2&day=$3&p=$4&page=$5 [QSA]
    while it should be
    RewriteRule ^archives/([0-9]{4})?/?([0-9]{1,2})?/?([0-9]{1,2})?/?([0-9]+)?/?([0-9]+)?/?$ /haanbhai/index.php?year=$1&monthnum=$2&day=$3&p=$4&page=$5 [QSA]
    in summary /?([0-9]+)?([0-9]+)?/ part at the end is wrong it should be /?([0-9]+)?/?([0-9]+)?/
    Gave me a lot of heartburns.
    Regards
    Pankaj

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘BUG: Permalink rewrite rule wrong’ is closed to new replies.