WordPress.org

Ready to get started?Download WordPress

Forums

WP-PageNavi
Change URL Paths (2 posts)

  1. JasonBeee
    Member
    Posted 2 years ago #

    Just wondering how to change the path of the URL that the page link buttons link to. For example on thatswhyimbroke.com, the page 1, 2 ,3, etc link to /page/2/, /page/2/ etc. accordingly.

    Just wondering how to edit this path and make them link to /page/2/#tab1 for example.

    Any help is appreciated!

    http://wordpress.org/extend/plugins/wp-pagenavi/

  2. galihfirm
    Member
    Posted 2 years ago #

    Hi Jason, for this case you need to change your url by using
    wp_rewrite, and get for query vars check this link below

    http://codex.wordpress.org/Class_Reference/WP_Rewrite#Examples

    dont forget to include your value eg:
    hhtp://somesite.com/pagename/your_value/

    and page number will be automatically added like:
    hhtp://somesite.com/pagename/page/2/your_value/

    I hope this work for you

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic