Wordpress: How do I convert a generated URL (permalink) to a pretty URL?

Posted by Markus on Stack Overflow See other posts from Stack Overflow or by Markus
Published on 2010-03-20T19:33:31Z Indexed on 2010/03/22 18:21 UTC
Read the original article Hit count: 270

In a plugin, I am generating a paginated link to a category,
i.e. http://localhost/?cat=17&paged=5. The category is known by slug and id.

Is there a way to have this URL converted to the user defined "nice permalink" format,
i.e. http://localhost/category/foo/page/5?

(Assuming we're running Wordpress 2.8/2.9+)

© Stack Overflow or respective owner

Related posts about Wordpress

Related posts about wordpress-plugin