Main page meta title error

Hello!

On the front page (main index) page, the meta title is the URL of the website, and not the title added in Wordpress. All other pages do not have this problem. Can this be solved? Thank you!

Comments

  • Hi

    For  this simply follow the given below instruction . 

    Find the header.php file (located in your theme folder ) .

    Open it and find the below line of code on line no  14 . 

    <title><?php wp_title('|', true , 'right'); ?></title>

    Replace  it with  below lines of code  . 

      <title><?php bloginfo('name'); ?> | <?php is_front_page() ? bloginfo('description') : wp_title(''); ?></title>

    Let me know for further assistance . 

    Thanks 
    Akhilesh
  • Works perfectly!

    Thank you very much! 
    :)>-
  • Hi
    Glade to know that its work for you.

    Thanks
    Akhilesh
This discussion has been closed.