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.
Here is the sitemap -> http://overpress.it/sitemap-pt-post-2015-07.xml
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
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?
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
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>';
}
}
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.
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
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
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.
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
We have no other plugins, only SEO by Yoast.
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.
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
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
