Rewrite Rule for Post Meta

Okay! So I got this working by just changing the rewrite_rule to include the event…

function aca_award_cat_rewrite_rule() {

    add_rewrite_rule( '^awards/([^/]*)/award-category/([^/]*)/?', 'index.php?competition=$matches[1]&award_category=$matches[2]', 'top' );
}

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