.htaccess redirect for old subfolder installation to new subfolder installation and https

This probably should have been asked on stackoverflow as its not wordpress specific. However, what youre looking for is a wildcard.

You can find information about using them to do what you need here htaccess wildcards

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