WordPress.org

Ready to get started?Download WordPress

Forums

Multipage Plugin
Add additional rewrite rule (1 post)

  1. TiKu
    Member
    Posted 1 year ago #

    Hi again,

    I've noticed that the sub-pages won't work if you've setup WordPress permalinks to also include the day.
    This could be solved by adding an additional rewrite rule in add_paget_rewrite_rule:
    add_rewrite_rule( '([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)(/subpage-[^/]+)?/?$', 'index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&name=$matches[4]&paget=$matches[5]', 'top');

    Regards
    TiKu

    http://wordpress.org/extend/plugins/sgr-nextpage-titles/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.