What’s wrong with the rewriting?
->
Yeah I don’t know much about Wordpress codex. Referring to the webs and few example’s does not help as well.
What I want to is to rewrite the URL such as:
/friends/tony/ –> /wp-content/plugins/friends.php?name=tony
so people will see /friends/tony/ on their browser, not the one with query string.
I have referred to Jerome’s Keywords and Feed Director, but no luck for me.
Other webs;
http://codex.word...Reference/WP_Rewrite
http://wordpress..../support/topic/50182
http://wphooks.fl...erate_rewrite_rules/
http://codex.word...ite&redirect=no
http://codex.wordpress.org/User
http://wordpress..../support/topic/54915
function test_testRules() {
global $wp_rewrite;
mail("myemail","CALLED4","CALLED");
}
//add_action('init','fd_init');
//add_filter('rewrite_rules_array', 'test_testRules');
//add_filter('rewrite_rules_array', 'test_testRules');
add_action('generate_rewrite_rules', 'test_testRules');
This code should email me when any of the action or filter is invoked..but it never happen.


