Website Title Not Showing in Browser Tab / Title Tag Empty in Page Source

It looks like your header.php is using wp_title(''), which is deprecated and may not return anything in some cases. Also, the way it’s structured, it’s not properly appending the site title.

Try replacing your <title> tag with the following code:

<title><?php bloginfo('name'); ?><?php wp_title('|', true, 'left'); ?></title>

Or, if you’re using a newer version of WordPress, use:

<title><?php echo get_the_title() . ' | ' . get_bloginfo('name'); ?></title>

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