If you face any issue with wordpress title. Then please use this code

<title><?php wp_title(‘true’,’right’); ?> | <?php bloginfo(‘name’); ?></title>