Wrong time on Google

Posted in: Newsmag
Post count: 199

Hi,

we are having problems with indexing on Google. An article published in this moment is indexed as published 16 or 19 hours ago. How come?

I attach a screenshot. The article which was published recently but on Google appears as 19 hours ago -> https://dl.dropboxusercontent.com/u/22334399/Schermata%202015-07-10%20alle%2015.56.40.png

This is link of article -> http://overpress.it/2015/07/10/barcellona-torneranno-strisce-verticali-maglia-2016-2017/

The time of server, CloudFlare and WordPress are ok.

Post count: 9544

Check the times ‘printed’ on your sitemap.

Time may be when captured, not published.

Do a php echo script of the current time on your domain.

Post count: 199
Post count: 199

I saw an article like Google. This is because it is a day back. How do I change? -> https://dl.dropboxusercontent.com/u/22334399/Schermata%202015-07-11%20alle%2014.47.30.png

Post count: 9544

Cloudflare is setting the cookie, why not ask them?

Post count: 199

We asked, and we even turned off. The problem is not resolved.

Post count: 199

From Google support forum telling us that there is a problem here -> https://productforums.google.com/forum/?utm_medium=email&utm_source=footer#!msg/webmasters/sSEyv–7kkw/muCKI1CiqWEJ

In this line ->

<time itemprop=”dateCreated” class=”entry-date updated td-module-date” datetime=”2015-06-30T11:24:30+00:00″ >30 giugno 2015</time>

What should I change?

Post count: 199

up

Post count: 6600

Hi,

You can try to duplicate the time tag to test this here: http://screencast.com/t/HfbezFHurF change the markup to itemprop=”dateModified” then use this wp function: https://codex.wordpress.org/Function_Reference/the_modified_time to get the modified time. This way you should be able to differentiate the two times.

Thanks

Post count: 199

OK add, but how do I give you the timetable with Italy time zone?

if (td_util::get_option('tds_p_show_date') != 'hide') {
$td_article_date_unix = get_the_time('U', $this->post->ID);
$buffy .= '<div class="td-post-date">';
$buffy .= '<time itemprop="dateCreated" class="entry-date updated td-module-date' . $visibility_class . '" datetime="' . date(DATE_W3C, $td_article_date_unix) . '" >' . get_the_time(get_option('date_format'), $this->post->ID) . '</time>';
$buffy .= '<time itemprop="DateModified" class="entry-date updated td-module-date' . $visibility_class . '" datetime="' . date(DATE_W3C, $td_article_date_unix) . '" >' . get_the_time(get_option('date_format'), $this->post->ID) . '</time>';
$buffy .= '<meta itemprop="interactionCount" content="UserComments:' . get_comments_number($this->post->ID) . '"/>';
$buffy .= '</div>';
}
}

Post count: 9544

One presumes you have set the correct time zone for your server and php, and for WordPress, with possible .htaccess over-ride for specifying local time zone/GMT time?

We run into that when trying to set one site as EST/EDT and another for PST/PDT.

Might not be related in any way, just a thought, so apologies for not being more help.

Post count: 199

Yes, everything is set correctly. But this error keeps occurring (Article published by a few hours, not 2 days) -> https://dl.dropboxusercontent.com/u/22334399/Schermata%202015-07-13%20alle%2021.07.40.png

Post count: 9544

Note that if you’re using Google News, they will update the “how long ago” based on when the story updated, not when first published. No way to control that.

Post count: 199

But I have not updated … just released I checked, it was 2 days ago. But I had just published …

Post count: 6600

Hi,

According to this article google could crawl incorrect article date: https://support.google.com/news/publisher/answer/70871?hl=en
If this is your case you should consider the tips provided there.

Thanks

Post count: 199

Already seen on Google News, the time is correct. It is only on that view window in Google Search which is wrong.

Post count: 199

We have also a rediscount problem with the time on feeds RSS. The Flipboard app told us to solve this -> https://dl.dropboxusercontent.com/u/22334399/Screen%20Shot%202015-07-22%20at%201.51.52%20PM.png

They said: “The publisher should put “pubdate” correctly. See the attached screenshot.”

  • This reply was modified 11 years by OverPress.
Post count: 6600

Hi,

Please provide the tool you used to test your site’s feeds and also make sure that you don’t have other plugins that alters the post published time, use just the yoast seo plugin then ask google to reindex your site: https://support.google.com/webmasters/answer/6065812?hl=en

Thanks

Post count: 199
Post count: 780

Hi,

The RSS feed is generated by WordPress, the theme dosn’t interfere with it… my initial guess would be that the server time and timezone is set up incorrectly. For best results, the server timezone should be set to a timezone appropriate to the localization of the WordPress install. Unfortunately we cannot provide you with assistance regarding server configurations… I’m very sorry for this but we also rely on external help for server configurations and don’t have in house expertise.

[edit:] ok I’ve asked around:
on linux you can run something like this to check the timezone:
cat /etc/timezone for Italy it should be: Europe/Rome . If it’s something else or you cannot ssh to your server, I would strongly suggest to contact your hosting provider and ask about how you can change this.

If you cannot use the theme we can provide you with a full refund.

  • This reply was modified 11 years by Radu.
  • This reply was modified 11 years by Radu.
Post count: 5

Hi guys, we are experiencing this same issue on GottaBeMobile.com and are going to switch to another theme because of it until we can sort out a fix.

The issue is that your Published times are localized and don’t include a Timezone offset trailing the time stamp. If you were able to add that it would solve the issue.
Could you please take a look at this document and see that Google is asking publishers to either provide the times in UTC by adding a ‘Z’ at the end of the timestamp or present the local time, but provide an hours offset.
https://support.google.com/news/publisher/answer/74288?hl=en
In our case, our articles are hitting the Google News index immediately, but showing up as “7 hours ago” in Google’s main web search engine results page. We tried switching to another theme for part of a day and Google immediately began indexing articles in Google News and Google Web search engine results pages with the correct time stamp.
Could you tell me if there’s a way to add the timezone offset into the theme?

If you don’t have a trailing ‘Z’ to indicate that the time is UTC or a time offset, then Google will simply assume that the PublishedDate and ModifiedDate are UTC times in Google SERPs, even if the desired time is showing up in Google News.

  • This reply was modified 10 years by MN-theme. Reason: added details
Post count: 6600

Hi MN-theme,

Sorry for the delay!
The theme uses the date format from wp general settings so you could try to add it here: http://screencast.com/t/8uqZ1DSnBH1 or chose your timezone.

Let us know how it goes!

Thanks

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