Complicated Title Tag Issues. Experts, Please Help!
-
Hey there Moz community! This is the first time I ask a question here so please forgive me if I miss any forum etiquette.
I am managing SEO for an educational site which is built in React Js, and so far much of the job has been keyword research and site optimization. The site still has slow PageSpeed though.
The Issues - 4 weeks ago we published 20 or so content pieces, I had pre-prepared title tags and meta descriptions. But when we released the content there was a programming error that made all of the pages show another title tag for all 20 pages instead of the pre-prepared individual title tags.
I noticed this after 3 days and the issue was fixed within 6 days, but by then Google had crawled and indexed the pages. And now I can't get Google to change to the pre-prepared tags no matter what I do! I've tried changing the content, changing the URL of one of the pages, and I've sent Google spiders to re-crawl the pages multiple times.
The super weird thing is that the correct title tag shows in the 'navigation bar/tabs bar' on google chrome:
But NOT when I view the source code for the page:
Yesterday I was taking a walk in the park and I just couldn't stop thinking about it (it is really starting to get to me by now since nothing works), so I ran back home and looked closely at one of these pages in the Google search console. And I noticed something I hadn't seen before… BOTH of the title tags can be found in the HTML:
Pre-prepared title tag: <title></strong>UK Seat Belt & Car Seat Laws: The Definitive Guide<strong></title>
The other title tag (in src section): title=Ace%20The%20DMV%20Permit%20Test%20%26%20Get%20Your%20License
Could this be the problem or what do you think? I've understood that Google has automated title tags and that they can choose their own if they think it fits better, but the title tags aren't even close to describing the topic as it is now so it doesn’t make any sense.
All answers are greatly appreciated! Your advice is life-saving for a learner like me.
P.S. I love SEO but it can be very frustrating sometimes!
Thank you very much,
Leo
-
UPDATE: It worked!!!!!! I'm so freaking happy! Love you guys!
-
This could definitely be relevant to us as the pagespeed is slow when first entering the site (like 6-7 seconds...) and a lot of resources are loaded (primarily unnecesary JavaScript and render-blocking resources according to Lighthouse). We're working on the pagespeed but I'll pass on this info to the development team in the meantime. If the Ross fix doesn't work we'll put the tags as high up as possible in the .
Thanks a lot, seoelevated! You are an absolute champion!
P.S. We're also changing to nextJS which, as I've understood, should solve a lot of JavaScript SEO issues.
-
Primarily, the requirement is to be in the section. However, I have seen cases where a long-load-time resource in the above meta tags can cause meta tags to be ignored. These were fairly extreme cases, where the resource took multiple seconds to load, synchronously. But moving the meta tags (and Title) above those resources fixed the issue. Also, in another case, we had a snippet from a CDN provider which included an iframe, and in that iframe there was a section and a closing . It turned out that Google was ignoring all of our tags after the which was injected in that iframe, even though it was only supposedly closing the section opened within the iframe. Once we moved that iframe to the end of our own section, below all our meta data, the issues resolved. So, with all that, I do recommend putting meta data at the top of the section, but depending on what else is in there, it might not be an issue for you.
-
Hi Leowa,
As long as it comes before you're fine.
-
Hi Seoelevated, thanks! It is in the section, but below google analytics and google tag manager scripts. Is that good enough? Although as it is right now the wrong title tag shows in the page source but we're implementing fixes according to the feedback from Ross (which will hopefully help!!)
-
I also suggest to double check that the actual title tag (the first one you included in your post) is in the section of the page, and not the . And preferably high up in the section before any scripts or other elements which could take significant time to load. Check this in "view page source" and not just using the "inspect" function of the browser's dev tools, to ensure that some scripts on the page aren't altering the title tag after the document is loaded, since the search engines may instead use whatever is initially set in the actual of the document before scripts execute.
-
Sounds good!
-
Hi Ross!
Thank you so much for your answer! I will try this immediately and let you know how it goes
Leo
-
Hi there,
I had a similar problem at one of the client's websites. You must remove the second title from the page because Google is confused about which title is correct. It is possible that the first titles are dynamically generated by the script and they are being overwritten by the second titles or vice versa. By the way, this "%20" means space in a programming language.
Ross
-
Hi, I noticed that the images I added don't show. So to clarify:
The 'navigation bar' on google = the tabs-bar on the top of chrome
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
-
Is it helpful for seo to have helpful links at the footer?
HI, suppose my homepage has good content but no external links to other sites for more info. and no helpful internal links in the footer to learn more. and my competition has 9 internal links in the footer which links to other pages on the site who has more SEO boost? I know the answer , does it really makes a difference or its minute?
Intermediate & Advanced SEO | | SIMON-CULL1 -
New websites issues- Duplicate urls and many title tags. Is it fine for SEO?
Hey everyone, I have found few code issues with our new website and wanted to see how bad those problems are and if I have missed anything. If someone can take a look at this and help me it would mean the world. Thank you. all! We hired an agency to design a new site for us and it's almost ready, but the other day I found some problems that made me wonder if this new site might not be as good as I thought and I wanted to ask you to take a look at the code and possibly help me understand if from SEO prospective it is sound. But I really want someone who understands SEO and web design to look at our code and point out what might be wrong there. Here is a link to the actual site which is on a new server: http://209.50.54.42/ What I found few days ago that made me wonder something might not be right. Problem 1. Each page has 3 title tags, I guess whatever template they are using it automatically creates 3 title tags. When you do " View Page Source" For example on this url: http://209.50.54.42/washington-dc-transportation when you view the code, the lines Lines 16,19 and 20 have the title tag which in my opinion is wrong and there should only be one. Could this hurt our SEO? Problem 2. Infinite duplicate urls found All following pages have INFINITE NUMBER OF DUPLICATE URLS. EXAMPLE: http://209.50.54.42/privacy-policy/8, http://209.50.54.42/privacy-policy/1048, http://209.50.54.42/privacy-policy/7, http://209.50.54.42/privacy-policy/1, http://209.50.54.42/privacy-policy you can add any type of number to this url and it will show the same page. I really think this 2nd problem is huge as it will create duplicate content. There should be only 1 url per page, and if I add any number to the end should give a 404 error. I have managed to find these 2 issues but I am not sure what else could be wrong with the code. Would you be able to look into this? And possible tell us what else is incorrect? I really like the design and we worked really hard on this for almost 5 moths but I want to make sure that when we launch the new site it does not tank our rankings and only helps us in a positive way. Thanks in advance, Davit
Intermediate & Advanced SEO | | Davit19850 -
International Href Lang Tag Parameter Issue
Hey, let's say I'm on the following page.. site.com/product-name/product-code/?d=womens I view the page source and it looks like this.. My question is, should I remove the parameter for the hreflang tag???? I just need some clarification that NO parameter page should have a canonical tag and / or href lang with parameters..
Intermediate & Advanced SEO | | ggpaul5620 -
SEO Experts: Where did you start?
Hi all! I'm beginning to travel down the road of becoming an SEO expert! I've attended the latest few webinars on Moz, and have started watching the White Board Fridays. However I'm wondering, for the current SEO Experts, how did you get to where you are today? I.e. What books did you read? Did you pay for classes or just learn everything from Moz? Where is a good place to get an SEO Expert Certification/Is it necessary? How long did it take you to become an expert? (Stuff like that) I suppose I'm looking to make a list for myself, organizing what I should learn first, and then create a timeline moving forward. Thanks for your help Mozzers! - Briana B.
Intermediate & Advanced SEO | | JCWhelan13 -
Title Tag Best Practices
In light of all the Google updates in 2013, have you updated/changed your title tag best practices? Is the format of (Keyword | Brand) still working well for your optimization efforts or have you started incorporating an approach similar to this format . (Keyword in a Sentence | Brand) Thanks in advance for your opinions.
Intermediate & Advanced SEO | | SEO5Team0 -
Emergency Help...
Hello All, I'm trying to get a better handle on this, but any help would be hugely appreciated. Per my Pro account, i just found out that the keyword i was severely trying to rank for "Boston Wedding Phot*grapher" i just declined by over 40 positions. Just last week i was in the #3 position. Needless to say, this is extremely bad. I feel sick from it. This is my livelyhood. I recently hired a 'so-called' SEO expert to look at it, but i'm having my doubts. I'm using a php based site with a wordpress blog. He added a bunch of 301 redirects from pages that the crawler was complaining about to my .htaccess file. He also installed the following plugins: Link Juice Keeper NoFollow Free The SEO Rich Snippets Udinra All Image Sitemap WP Robots Txt WP-PageNavi Add Meta Tags These are essentially the only changes made. Does anyone see anything blaring and/or obvious? I could really really use some help. My blog link is : http://www.symbolphoto.com/blog/ I'm assuming it's the blog because that's where most of my site content is located. Any advice is hugely appreciated. TIA.
Intermediate & Advanced SEO | | symbolphoto0 -
I am not a SEO expert , need a gentleman to help me
I have been hit by Latest google update . dont have enough money to pay seo consultants , just wondering if anyone expert can off a free analysis of my site and can point problems. Its not a adsence site . My living depends on this site so cant just keep on doing experiments , by the looks I have been hit hard by negative seo by competitor . I give url in private . Is there any one kind here who can help in private . Would really appreciate .
Intermediate & Advanced SEO | | HateDoingSEO0 -
My ranking spiked then died in the butt? why? Please help!
Hi guys, I have been persevering with this ranking for some time now and thought you might be able to help. Or direct me to where I can get help. I am learning a lot through SEOmoz but I am still very green. Basically on the 20th of the 12th we jumped up to a 2nd place listing and then dropped back down on the 17th of the 1st 2011. The site is http://mlb.broomeaccommodation.com.au and the search term is 'Broome Accommodation' as you can see it is a considerable drop and really affecting our bookings and sales figures. I have attached a link to a screen capture of the problem - http://exitforward.com/kimberleyaccomm/seomoz.png Interested to hear your thoughts and get some help on this frustrating matter Kind regards Bodie Czeladka
Intermediate & Advanced SEO | | Bodie0