Wordpress duplicate titles - can't find original title tags
-
I added new code to rewrite the page titles <title><?php wp_title(''); ?></title>
But I can't find the normal title tags in the Header PHP file in editor so I now have duplicate titles tags in the source code
This is the code - can't see what else would be titles? This is the website ...
<title><?php wp_title(''); ?></title>
eFavIcon(); ?>
eCSS(); ?>
enabled('Theme')) { ?>
http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic,700italic" />
-
Laura
As mentioned below, I have this theme on an active website now with Yoast running and seem to have it working.
This is the Felis WordPress theme by fireform if anyone else is curious.
Try;
-
removing the extra title tag code you added the header.php
-
select "force rewrite titles" in title settings
Let's see if that does it - I don't recall editing any other code to make it work, but I could be wrong, in which case I'll dig a little more for you.
-Dan
-
-
One quick question first - did you try checking of "force rewrite titles" under title settings in Yoast?
-
Hi Laura
I've used this theme before, so I'm going to look into how I got it to work with Yoast and I'll get back to you here.
-Dan
-
Hi Christy,
No - I still have two sets of titles in the source code but only one that I can see in the theme editor.
Laura
-
Hi Laura, has your issue been resolved?
-
Hi Laura,
If I remember correctly (it was a while since I messed around with these things), doesn't wp_title() actually add the <title>tags itself? If so you would just need:</p> <blockquote style="background: none repeat scroll 0% 0% #f7f7f7; padding-top: 5px; margin-left: 0px; padding-left: 2px; padding-bottom: 5px; white-space: nowrap; overflow-y: auto; font-family: monospace;"> <p><meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /></p> <p><?php wp_title(''); ?></p> <p> <?php sg_header_meta(); ?></p> </blockquote> <p>There is more info here : <a href="http://codex.wordpress.org/Function_Reference/wp_title">http://codex.wordpress.org/Function_Reference/wp_title</a></p> <p>If that doesn't do it, you could always try reversing your changes and use an SEO plugin, like the awesome Yoast Wordpress SEO (<a href="http://wordpress.org/extend/plugins/wordpress-seo/">http://wordpress.org/extend/plugins/wordpress-seo/</a>) which should allow you to change the titles without mucking around with the wordpress code itself.</p> <p>Hope that helps!</p> <p>Stuart</p></title>
-
Hi Laura,
That would depend on the theme you are using
If you can't find it in the header file you could check the other files
It looks like it's actually the nav bar that's coming on the title
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
MOZ identifies duplicate titles - one has' www' in the title
MOZ has identified duplicate titles - one has' www' in the title. - we have a few pieces of content where the same thing is happening. Not sure how this has happened. Should we do something about this? Will it cause problems for ranking? | KETAMINE GUIDE FOR DRUG WORKERS - free | Harm reduction informationhttp://substance.org.uk/harm-reduction-information/ketamine-guide-for-drug-workers-free | 13 | 2 |
On-Page Optimization | | Substance-create
| KETAMINE GUIDE FOR DRUG WORKERS - free | Harm reduction informationhttp://www.substance.org.uk/harm-reduction-information/ketamine-guide-for-drug-workers-free | 13 | 4 | 1 - 2 of 20 -
Wordpress Tags and Catagories
I am looking for data in regards to Wordpress and blog tags and categories. Wordpress has these identifies in there tool, but I see them being used less and less. Wordpress also creates annoying pages and duplicate content errors when using tags. Should I remove these tags and categories to improve SEO? I am also wondering if anyone has noticed a difference in user experience and traffic when changing these.
On-Page Optimization | | JoeyGedgaud1 -
Duplicated page titles
Dear friends, We have a problem which occurs on our page with duplicated page titles. Landlords are posting rooms on our page and most of them are giving the same name to the rooms and after that, we are getting more and more duplicated page titles. We are applying random whit this title tag: Accommodation for students in {city.name}: {name}. English title
On-Page Optimization | | Eurasmus.com
Certified student rooms in {city.name}: {name} English title
Erasmus room for students in {city.name} | {name} English title
Student room in {city.name}: {name} English title Also our title tag is sometimes to long but there is no possibility to make them shorter. I think. If anyone would have some idea be free to comment and help us. Kind regards Miško Macolić Tomičić0 -
Title tag terminology on website
Hi,
On-Page Optimization | | KasperGJ
I own a website (www.maleribasen.dk), which i'm currently making SEO on. The site actually ranks pretty good, top 1-2 on important searches. The title tag on the frontpage (and lots of other pages too) are "Maleribasen.dk - Buy and sell paintings" (translatated from danish - Maleri means painting). I'm thinking of changing the titles to "Buy and sell paintings | Maleribasen.dk" And then try to use the convention "| Maleribasen.dk" on every other title page. Sometimes use "Buy and sell paintings | Maleribasen.dk" as convention when title is too small. Like the overview of articles would be something like "Articles - Buy and sell paintings | Maleribasen.dk" A specific article would be "How to paint using oil painting | Maleribasen.dk" What do you guys think?0 -
How to fix Duplicate Page Title
I have so many Duplicate Page Title issue on my website. www.soobumimphotography.com Though I had to use NAME + Area + Photographer on every title page so ended up something like this San Antonio Sports Photographer | Soobumim Photography : San Antonio Wedding Photographers | Soobumim Photography http://www.soobumimphotography.com/chicago-cubs-at-houston-astros-mlb-soobumim-photography/ What's the best way to fix this problem? Should I delete them? Redirect? - to be honest, I don't know how. I am using Yoast plugin
On-Page Optimization | | BistosAmerica0 -
Duplicate Page Title
Wordpress Category pagination causes duplicate page title errors (ie. when there are so many posts in the category, it paginates them), is this a problem? Your tool is reporting it as a problem... but ProPhoto (my Wordpress provider say it is not a problem). Here are the 2 URL's with the same page title: http://www.lisagillphotography.co.uk/category/child-photography/ http://www.lisagillphotography.co.uk/category/child-photography/page/2/
On-Page Optimization | | LisaGill0 -
Duplicate page content & title for www.mydomain.com and www.mydomain.com/index.php?
Hi, First post so please be gentle! My Crawl Diagnostics Summary is showing an error relating to duplicate page content and duplicate page title for www.mydomain.com and www.mydomain.com/index.php which are, in my view, the same thing/page? Could anyone shed any light please? Thanks Carl
On-Page Optimization | | Carl2870 -
Post Title - Use the blog's name or not?
In the tile of my post, shoudl I used my blog's name in it at the end or emit the blog name. EX: title of post with keywords | name of blog OR EX: title of post with keywords The site's name is 3 words long, so I'm worrying that those extra words are diluting the keywords in the post's name that I'm trying to target.
On-Page Optimization | | gregalam0