I'm using a static page for my Front page. It is a custom template. On my custom template I am using WP_Query() to show a list of posts. I also have a custom taxonomy called "Types" that I use on my posts.
I am using add_rewrite_rule() to redirect http://example.com/types/example to my static front page. My rewrite looks like:
add_rewrite_rule('^types/([^/]*)/?', 'index.php?page_id=24&type=$matches', 'top');
The rewrite "works", but it redirects to http://example.com. If I disable the static front page in wordpress, the redirect works perfectly.
Is it possible to use add_rewrite_rule() with a wordpress static front page?