add_query_vars and add_rewrite_rules

You can see in this answer how add_rewrite_rules is being used, I don’t think it applies to your case at all.

What you need to do is to redirect urls generated from the search from (I’m assuming something like site.com/?s=term) to a pretty URL. This article do it http://www.wptavern.com/how-to-make-the-wordpress-search-url-pretty

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)