How to change the tag for pages?

Support Forums for LiveMesh Themes & Plugins Forums Agile Theme Support How to change the tag for pages?

Tagged: 

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #23991
    Theadztheadz
    Participant

    Hi guys,

    All the Pages that I have created all have a duplicate title tag:

    
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    
        <meta http-equiv="X-UA-Compatible" content="IE=Edge;chrome=1">
    
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    
        <title>
            Aussie Ninja Warrior</title>

    How do I change this for each page?

    Thanks,
    Adam.

    #24000
    VeenaVeena
    Moderator

    Can you pls check the yoast seo plugin settings > Titles & Metas .

    #24003
    Theadztheadz
    Participant

    Sure thing. What did you want to check out specifically?

    I’ve attached image files for the General tab and the Post Types tab… please let me know if you need further information.

    Also, it couldn’t be related to this could it?
    http://support.livemeshthemes.com/forums/topic/cant-seem-to-get-rid-of-home-on-my-static-landing-page/

    Attachments:
    #24009
    Theadztheadz
    Participant

    Hi Phoniex,

    I’ve noticed that the pages don’t always update the Meta Description. All the posts are fine, but I’ve got 19 pages that have no Meta Description despite having it all filled out in Yoast.

    Attached to this post is an image of the Yoast for this page filled out… and below is the Page Source for that same page:

    <!-- This site is optimized with the Yoast SEO plugin v3.4.2 - https://yoast.com/wordpress/plugins/seo/ -->
    <link rel="canonical" href="http://www.australianninjawarrior.com.au/shop/" />
    <meta property="og:locale" content="en_US" />
    <meta property="og:type" content="object" />
    <meta property="og:title" content="Products Archive - Aussie Ninja Warrior" />
    <meta property="og:url" content="http://www.australianninjawarrior.com.au/shop/" />
    <meta property="og:site_name" content="Aussie Ninja Warrior" />
    <meta name="twitter:card" content="summary" />
    <meta name="twitter:title" content="Products Archive - Aussie Ninja Warrior" />
    <meta name="twitter:site" content="@AusNinjaWarrior" />
    <!-- / Yoast SEO plugin. -->

    Thanks,
    Adam.

    Attachments:
    #24025
    VeenaVeena
    Moderator

    Pls go through the section – “Optimize your Titles for SEO” in the plugin documentation-
    https://yoast.com/wordpress-seo/ and see if it helps .

    If still you have trouble pls contact yoast SEO plugin support , they can help you easily in this case.

    #24031
    Theadztheadz
    Participant

    Thanks so much Phoenix. I hope I didn’t waste any of your time, I really appreciate the answer.

    #24032
    Theadztheadz
    Participant

    I found the answer… it was actually because of that first problem that I linked to in my second post of this thread.

    The advice you gave me last time:

    In the snippet editor pls change the sitetitle to

    %%sitename%%
    and pls comment out the below code in file header.php at line no:20 and see if that helps?
    wp_title(‘|’, true, ‘right’

    I un-commented it out and now I’m getting the titles…. but my original problem appeared… The sitetitle is duplicated.

    My website is back to ‘Aussie Ninja WarriorAussie Ninja Warrior’ (it should just be ‘Aussie Ninja Warrior’) and my page title (in this example) is ‘Privacy Policy and Terms & Conditions – Aussie Ninja WarriorAussie Ninja Warrior’

    The code in header.php is now:

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

    Please help.

    #24038
    VeenaVeena
    Moderator

    Ok..
    Can you pls replace the below code –

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

    with this and check?

    
    <title><?php wp_title(''); ?></title>
    
    #24039
    Theadztheadz
    Participant

    That’s perfect! Thanks heaps man!!

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘How to change the tag for pages?’ is closed to new replies.