Front page and articles title error

Posted in: Newsmag
Post count: 73

Hello, Google seems to have some problems getting titles for my content properly. The message marked with italics is shown in the News Section of the webmaster Tools for the front page of my blog, but https://majestic.com/reports/site-explorer?q=https%3A%2F%2Fwww.idevice.ro%2F&oq=https%3A%2F%2Fwww.idevice.ro%2F&IndexDataSource=F has the same issue finding it.
Your page is not eligible to appear in Google News because the title is invalid or could not be found.

Although Google says it’s marked ok, looking at Google Analytics I get lots of pages with errors stating the (not set) tag for titles.

Is there any way to fix this? The issue is long standing, even since I installed the theme a few months ago. I am using All in One SEO with the blog,

  • This topic was modified 11 years by lecker.
  • This topic was modified 11 years by lecker.
Post count: 1291

Hi,

I suspect it refers to the h1 tag which is missing from the page, add it using a Visual Composer text block or use the Homepage – with title template – http://screencast.com/t/gPl2da2W1Prm – the code in the template it looks like this – http://screencast.com/t/1HFARiUDU4

Thank you, Emil G.

Post count: 73

I don’t use the visual composer, so please tell me how to add the title as h1 in code. And since we’re on this subject, tell me how to add the article titles on the front page with the h2 tag. From a SEO perspective, it’s a big miss to not have these with h1 and h2 tags.

Post count: 73

And as a side note, I’ve added hyperlinks to my article’s titles, but the breadcrumbs titles are also hyperlinked as a result.
This is the code i’m using : <p>” rel=”bookmark” title=”<?php the_title_attribute(); ?>”><?php the_title(); ?><?php echo $td_mod_single->get_title();?></p>

Is there any way to have the breadcrumbs page title unhyperlinked? Deactivating the SHOW ARTICLE TITLE option in the theme settings panel has absolutely no effect.
Thanks.

Post count: 7909

Hi,

You can add your h1 title in index.php if you are using blog: http://screencast.com/t/h65UzoOYyo2t and also you can change the articles titles to h2 from td_module.php: http://screencast.com/t/Wd3dz1bzDw
About the second issue your option from Theme Panel to don’t show post title in breadcrumbs is working fine and you don’t have title there: http://screencast.com/t/gdCd6lAFX6w

Thanks!

Post count: 73

Thanks so much for your response. Solving the H2 problem worked, but I can’t figure out hot o solve the H1 problem.
<h1><div class=”td-pb-span8 td-main-content”>
<div class=”td-ss-main-content”>
<div class=”td-page-header td-pb-padding-side”>
<?php echo td_page_generator::get_home_breadcrumbs(); ?>
</div></h1>
I used that code, but it has no effect on actually adding H1 to the title, so if you could please tell me how to do it, i’d really apreciate it.
Regarding the breadcrumbs title, i want to hide it completely from the page.

Post count: 7909

Hi,

I said that you can add h1 tags there but also you have to really add a title manually(ex. Latest Articles) so you will have h1 on page: http://screencast.com/t/b2DxirBmhttp://screencast.com/t/QVH4eEvFa

Another solution for this is to create a homepage: use “pagebuilder + articles list” and set the module to display articles – http://screencast.com/t/dRRqOEaRN. Change to a static frontpage – http://screencast.com/t/k6RQC90fi and it will look exactly like your current blog page just you will have a title Latest Articles(also you can change this). Now you can edit page template and change to h1 – http://screencast.com/t/3ccSmpnMUfY
Result: http://screencast.com/t/ho9WYWrTYr

Also about breadcrumbs you can disable it from Theme Panel > Template Settings: http://screencast.com/t/WqXvp52Fp
If you refer to this title, please check your code as it isn’t part of the breadcrumbs liek you can see – http://screencast.com/t/ESQS1IYm

Thanks!

Post count: 73

I think you misunderstood me. I just want to make the site title H1(the blog title is hidden and shown just in the source code), just that, as it is not. I don’t want to add a Latest articles line to my front page. I also don’t want to create a static front page, as this creates other issues with plugins I use.

Post count: 9544

No point in having an H1 tag on home page unless it’s a static constant element such as “Micro Gaming News for the Tech Trade” — as Google doesn’t like “changing” H1 tags on static pages like a home page — a news headline should not have H1 tags on home page as those change hourly, daily, etc., and so have no relevance in SERPS.

So, you would need to edit the page template you’re using for home page or “page” template and add an “is_home” statement to put the desired H1 tag only on home page. Simple to do with Visual Composer, or if making a static page with loop.

eg
something like

<?php
if ( is_home() ) {
    // This is the home page index
    <h1>My Text Here</h1>
} else {
    // This is not the home PAGe index
    then get the normal page header
}
?>

just a thought. That likely not best solution, so pardon my butting in ….

  • This reply was modified 11 years by simchris.
Post count: 73

Again, it seems I’m misunderstood. I want to H1 THE SITE NAME/BLOG TITLE, not any other article title or something like that. Article titles are H2, but the blog title is… nothing, not even H3.

Post count: 9544

So you tried adding your site title for home page, to the index.php template already?

  • This reply was modified 11 years by simchris.
Post count: 73

I actually figured it out, added H1 from the header. Thanks for your help.
Now could anyone please tell me how to change the excerpt word/letter count to show more content on the front page for each listed article ?
Thank you!

Post count: 7909

Hi,

You can set content length from Theme Panel > Excerpts: http://screencast.com/t/puFKt0wI8Ux

Thanks!

Viewing 13 posts - 1 through 13 (of 13 total)
You must be logged in to reply to this topic.