WordPress Plugin Latest In Category

A simple plugin that adds a rewrite rule for categories to redirect to the latest post in that category.


Please note the prefix latest/ in the url path.

https://example.org/latest/category/uncategorised  redirects (depending on permalink settings) to

https://example.org/hello-world/ or https://example.org/?p=123


The method is really generic and should work with custom and complex modifications to rewrite rules and categories.


Tested compatibility:

– built-in categories
– Easy Digital Downloads

https://example.org/latest/downloads/category/my_category/ to


Buy 10€

If you have found a spelling error, please, notify us by selecting that text and pressing Ctrl+Enter.

Spelling error report

The following text will be sent to our editors: