Redirect if string found in URL

Nothing in $_GET will be set for internal rewrite rules, that’s not how they work. Look in the query vars for idx-action– either get_query_var('idx-action') or $wp_query->query_vars['idx-action'].

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