Wildcard multisite wp-admin url wrongfully redirected

Take a look at your wp-config.php file. For a subdomain installation, you should have something like this:

define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', true);
define('DOMAIN_CURRENT_SITE', 'rareteas.com');
define('PATH_CURRENT_SITE', "https://wordpress.stackexchange.com/");
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);

If you have SUBDOMAIN_INSTALL set to false, change it to true, which is necessary for a subdomain multisite.

Next, take a look at your database. Sometimes URLs get written directly into the tables and don’t want to leave without a bit of coaxing. Access your database via phpMyAdmin or similar and check the wp_site, wp_blogs, wp_options (for each site, the table might be wp_2_options, wp_3_options, etc.), and wp_sitemeta tables. Make sure the URLs are correct and reflect the subdomain structure you’re aiming for.

And if you’re using domain mapping or have any domain redirect plugins, it’s worth disabling them temporarily to see if it alleviate the issue.

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