WordPress.org

Ready to get started?Download WordPress

Forums

How to write a RewriteRule for wordpress custom pagination? (2 posts)

  1. youlichika
    Member
    Posted 3 years ago #

    Hello, I want add some new pages in wordpress and connect them to another database(not WP database post query). I want to add some mysql query in these pages with a custom pagination.
    the urls like:
    wordpress/newsearch/
    wordpress/newsearch/book/
    wordpress/newsearch/hoppy/

    and I want make a custom pagination like wordpress/newsearch/search.php?page=1
    wordpress/newsearch/search.php?page=2
    ...
    wordpress/newsearch/book/
    search.php?page=1
    wordpress/newsearch/book/
    search.php?page=2
    ...

    How to write a special pagination code?
    Or write some RewriteRule in .htaccess let them work?
    Thanks.

  2. youlichika
    Member
    Posted 3 years ago #

    up for help

Topic Closed

This topic has been closed to new replies.

About this Topic