dynamic URL rewrite

You might use following in that case

  • It’s okay to keep http://example.com/key_name/key_value simply by passing in your template using
    function add_query_arg( ‘key’, ‘value’, ‘http://example.com’ );
  • get_query_var(‘key_name’)
    to fetch the Value of Query parameters in your template file instead of using
    $_GET[‘key_name’] .