Tagged: Title Tag
September 7, 2016 at 4:50 pm #23991
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?
Adam.September 8, 2016 at 10:38 am #24000
Can you pls check the yoast seo plugin settings > Titles & Metas .September 8, 2016 at 1:22 pm #24003
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?
You must be logged in to access attached files.September 8, 2016 at 4:56 pm #24009
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. -->
You must be logged in to access attached files.September 9, 2016 at 12:20 pm #24025
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.September 10, 2016 at 1:12 am #24031
Thanks so much Phoenix. I hope I didn’t waste any of your time, I really appreciate the answer.September 10, 2016 at 2:12 am #24032
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
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.
The code in header.php is now:
<title> <?php wp_title('|', true, 'right'); bloginfo('name'); ?></title>
Please help.September 10, 2016 at 8:02 am #24038
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>September 10, 2016 at 4:13 pm #24039
That’s perfect! Thanks heaps man!!
- The topic ‘How to change the tag for pages?’ is closed to new replies.