Bad news.
Which plugin should be a substitute?
Same problem here, works with 2.9.2 but not wit 3.0
I had the refresh the permalink structure!
Now it works!
i found this other function
add_action(‘generate_rewrite_rules’, ‘tag_rewrite_rules’);
function tag_rewrite_rules( $wp_rewrite )
{
$new_rules = array(
‘lp/(.+?)/?$’ => ‘index.php?’ .
‘tag=’ . $wp_rewrite->preg_index(1) .
‘&type=landing’
);
$wp_rewrite->rules = $new_rules + $wp_rewrite->rules;
}
it adds the right rewrite rule to $wp_rewrite->rewrite_rules()
but still doesn’t work