URL Custom Rewrite

You can do something like

$path = $_SERVER['REQUEST_URI'];

if (home_url($path) == 'http://www.myweb.com/action/frame' ) {

    header('Location: ' . 'http://www.myweb.com/wp-content/plugins/myplugin/frame.php');

}

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