[wp-hackers] Custom URL for Paginated Archive Pages

Ryan Frankel ryan.frankel at gmail.com
Mon May 14 18:53:16 UTC 2012

  I am sure this has been asked/discussed before but I am wondering what the best way to control the URL of a paginated archive page.  I.E:

Current: www.wordpressrocks.com/author/ryan/page/2
Should Be: www.wordpressrocks.com/author/ryan/2
OR: www.wordpressrocks.com/author/ryan/* (where * is anything I can dream up)

I can have `paginate_links` output the Should Be URL easy enough but I am unclear how to change the actual permalink.

As an aside, if I modify the output of `get_pagenum_link` will that have the effect I am looking for?

I can only imagine that this has been discussed/wanted a million times over and any input anyone has would be much appreciated.

Ryan S. Frankel

More information about the wp-hackers mailing list