htaccess conflict between WordPress and password protected subdirectory

I have found a response on a forum which suggests that the only way of acheiving this is to create a subdomain for the folder which is to be protected, this works fine.

Regards

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