Rewriting / Redirecting request outside wordpress

Normally, to add rewrite rules in WordPress there is the generate_rewrite_rules filter. From there you can call the function add_external_rule ($wp_rewrite->add_external_rule($rule)) where you could add your rule which not maps to index.php. Unfortunately WordPress will try to write this rule into the .htaccess file. But maybe this could be helpful.

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