Problems with setting up a subdomain to serve images and scripts

The Solution is in the Document root of your subdomain.

You must set it to "public_html/wp-content" because it also loads your themes’ files which are outside the uploads directory

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