﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
22084,Tag pagination issue on nginx-hosted installs,iridox,,"Due to the seeming lack of tickets on this, I'm going to assume it's an nginx-specific issue.

Basically, since 3.4 I've had to include a custom function on each of my nginx-hosted WordPress installations to get tag pagination to work:


{{{
add_action('init','yoursite_init');
function yoursite_init() {
  global $wp_rewrite;
		//add rewrite rule.
                add_rewrite_rule(""tag/(.+?)/page/?([0-9]{1,})/?$"",'index.php?tag=$matches[1]&paged=$matches[2]','top');
                $wp_rewrite->flush_rules(false);
}
}}}

Without the code block, I either get a 310 Error (redirect loop) or a random page is spitted out.",defect (bug),closed,normal,,Rewrite Rules,,normal,invalid,,
