WordPress.org

Support

Support » How-To and Troubleshooting » How to write a RewriteRule for wordpress custom pagination?

How to write a RewriteRule for wordpress custom pagination?

  • 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.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How to write a RewriteRule for wordpress custom pagination?’ is closed to new replies.
Skip to toolbar