Can I redirect the http request towards an old folder to the homepage using .htaccess file? [closed]

That should be easy:

RedirectMatch Permanent corso-spring-mvc/ /

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