A simple plugin that adds a rewrite rule for categories to redirect to the latest post in that category.
Example:
Please note the prefix latest/ in the url path.
https://example.org/latest/category/uncategorised redirects to
https://example.org/hello-world/ or https://example.org/?p=123 (depending on permalink settings)
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
https://example.org/downloads/mydigitaldownload/
Buy 10€
Spelling error report
The following text will be sent to our editors: