=== Simple Rewrite Rules === Contributors: WordPress Plugins Tags: wp_rewrite, simple, rewrite, rules Requires at least: 2.7 Tested up to: 3.2.1 Stable tag: 1.0 Easily add custom rewrite rules to your WordPress blog. == Description == WordPress uses rewrites to allow pretty permalinks. Simple Rewrite Rules plugin allows you to customize the URL of your WordPress blog even further. = How to use rewrites = If you aren't already familiar with Apache's mod_rewrite, it is recommended that you have a look at it. This plugin can parse regular expression to rewrite one URL to another. The best way to understand this is through an example: Rewrite `random-posts` to `index.php?orderby=rand` (Random posts)
Rewrite `(cats)|(dogs)` to `index.php?categoryname=$match[1]` (All posts under a certain category)
Rewrite `([^/]+)/popular/?` to `index.php?month=$match[1]&meta_key=votes&orderby=meta_value` (The most popular posts in the month)
Rewrite `user/([^/]+)/([^/]+)/?(/(.*))` to `index.php?authorname=$match[1]&day=$match[2]&categoryname=$match[4]` (The possibilities are endless!)
= Quick Regular Expression References = = List of All WordPress Query Variables = == Installation == 1. Upload the entire `srr` folder to the `/wp-content/plugins/` directory. 2. Activate the plugin through the 'Plugins' menu in WordPress. 3. Go to the 'Simple Rewrite Rules' menu in your WordPress admin panel to get started! == Changelog == = 1.0 = * initial release