Redirect url in plugin to somewhere else?

I’ve solved it with hard coding. I know, it isn’t a great answer, but there was no other choice. Redirecting this plugin wasn’t possible.

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