Publish Date, Last Updated, Query Deserves Freshness, & Google Fresh Rank

Ryuzaki

女性以上のお金
Staff member
BuSo Pro
Digital Strategist
Joined
Sep 3, 2014
Messages
3,404
Likes
6,206
Degree
7
I'm thinking I'll remove all instances from the meta data and then change the Publish date to an Update date and add some schema or micro-markup to it. I'm tempted to not even use any schema.
Here’s another twist — Completely remove the published date (at backend and front end) and show only last updated date.
That's ultimately what I recommended doing in this post (and in the quote above). It's the only thing that ends up forcing Google to "trigger" the freshness, whether or not they actually understand an update occurred.
 
Joined
Sep 3, 2015
Messages
313
Likes
127
Degree
1
Here’s another twist — Completely remove the published date (at backend and front end) and show only last updated date.

They got good results here : https://www.authorityhacker.com/google-freshness/
Have just done this. I kept datepublished (both within meta and body) for news posts, but on evergreen pages I am trying rank I just have datemodified (both in body and within meta). Coincidentally I also found a new meta schema that I've applied to my guide categories too, https://schema.org/TechArticle
 
Joined
Jul 22, 2014
Messages
188
Likes
188
Degree
1
That's ultimately what I recommended doing in this post (and in the quote above). It's the only thing that ends up forcing Google to "trigger" the freshness, whether or not they actually understand an update occurred.
Quit being nice. They rewrote this thread. Every weekday I go through my RSS reader where I collect every SEO blog I can find, and at least once a week some blog steals content from here. Hell, several have turned the Crash Course content into paid courses. I'll call them out every time. Bloggers never stop stealing from forums and I'll never stop pointing it out. That new Miles guy even rewrote the 2019 Goals thread on his motivational blog. It's nonstop.
 
Joined
Mar 18, 2019
Messages
8
Likes
8
Degree
0
Hey all,

I've been working to remove the datePublished schema from my Wordpress site, but have so far completely failed. I am using Yoast's SEO plugin, for better or worse, and Yoast seems to automatically include datePublished and dateModified in their default schema. I managed to edit the functions.php to display the dateModified on my posts as opposed to the original datePublished, but I haven't been able to eradicate the datePublished information altogether from the Schema.

If anyone else was able to solve that issue with Yoast, I would much appreciate any pointers as to how to do it.
Thanks in advance!
 

Ryuzaki

女性以上のお金
Staff member
BuSo Pro
Digital Strategist
Joined
Sep 3, 2014
Messages
3,404
Likes
6,206
Degree
7
@Noisegen, this will get the job done:
Code:
// Remove Yoast Date Meta Tags From Header
add_filter( 'wpseo_og_article_published_time', '__return_false' );
add_filter( 'wpseo_og_article_modified_time', '__return_false' );
add_filter( 'wpseo_og_og_updated_time', '__return_false' );
The top one is for Published Time, middle is for Modified Time, and bottom is for Updated Time. Include the lines you want for the "Time" you want to remove.
 
Joined
Mar 18, 2019
Messages
8
Likes
8
Degree
0
Hi Ryuzaki, thanks for the response.

I've pasted that code into my functions.php and commented out the modified time and updated time. I then purged my cache and CDN cache.

When I view a post in the Google Schema Check system, I still see a "datePublished" entry (actually two!) as well as two "dateModified" listings. When I look at the source for one of my blog posts, I still see two datePublished entries under the Yoast-Schema-Graph Class.

I'm not sure if I'm simply impatient and need to wait a bit to see the changes take place, or if I still have something configured incorrectly.

If you have any insights, they would be very much appreciated. If not, I'll keep digging on my own.
Thanks again!
 

Ryuzaki

女性以上のお金
Staff member
BuSo Pro
Digital Strategist
Joined
Sep 3, 2014
Messages
3,404
Likes
6,206
Degree
7
Oh, you know, Yoast just pushed out a series of updates to include new Schema stuff. I've not installed those updates yet. I bet things changed. Once I do that and find the solution (because I also want it to not be in there), I'll come back and let you know.

The snippets above just remove them from the collection of header tags that Yoast stuffs in. I thought that was what you meant.
 
Joined
Sep 3, 2015
Messages
313
Likes
127
Degree
1
@Ryuzaki @Noisegen To disable all Yoast schema use this code in functions.php
Code:
add_filter( 'wpseo_json_ld_output', '__return_false' );
I have also not updated to Yoast 11 because of this issue, I would prefer to manually control all my schema in the header. The way they rolled this out was quite bad IMO.

Also, if you are using Ryuzaki's code to remove Yoast comments, I believe that may break with Yoast 11 and you need to do this. Again, I have not done any other this as Yoast 11 seems more trouble that it's worth right now.
 
Joined
Mar 18, 2019
Messages
8
Likes
8
Degree
0
That makes total sense. Thanks for this information... I have driven myself crazy all day trying to figure this out, and the Yoast v11 changes explain a lot.

I'll see if I can roll back Yoast to a 10.xx version and perhaps wait it out for a bit. If not, then I'll either abandon the date modification strategy for the time being or maybe consider jumping over to a different SEO plugin.

Yoast was kind enough to add 4000 image posts to my site last year, which ruined my site for a couple of months, so I have no love for them.
 

Cash Builder

BuSo Pro
Joined
Jan 14, 2017
Messages
293
Likes
289
Degree
1
That makes total sense. Thanks for this information... I have driven myself crazy all day trying to figure this out, and the Yoast v11 changes explain a lot.

I'll see if I can roll back Yoast to a 10.xx version and perhaps wait it out for a bit. If not, then I'll either abandon the date modification strategy for the time being or maybe consider jumping over to a different SEO plugin.

Yoast was kind enough to add 4000 image posts to my site last year, which ruined my site for a couple of months, so I have no love for them.
I changed all of my sites to the RankMath SEO plugin, and it's been great. My rankings have all steadily increased since the change, although it's impossible to attribute this to the plugin. It definitely hasn't hurt though. I find it much more intuitive than Yoast, and a higher score percentage correlates with higher rankings, in my case at least.
 
Joined
Mar 18, 2019
Messages
8
Likes
8
Degree
0
I changed all of my sites to the RankMath SEO plugin, and it's been great. My rankings have all steadily increased since the change, although it's impossible to attribute this to the plugin. It definitely hasn't hurt though. I find it much more intuitive than Yoast, and a higher score percentage correlates with higher rankings, in my case at least.
I've been watching people mention RankMath for the last month or so, and have been tossing around the idea of switching.

So this morning I downloaded it and switched from Yoast. The wizard worked flawlessly, and I didn't run into any hiccups on the transition. I left the Schema module unactivated for now, and my post Schema now shows only the last dateModified, not datePublished (though comments still show datePublished).

Original goal met!

So far I'm impressed with RankMath's setup, though I've only used it a bit. It's nicely streamlined and quite feature-rich. I used to ignore 3/4 of what Yoast recommended, especially when it comes to content and language, but RankMath's list of SEO recommendations doesn't include a lot of the crap Yoast suggests. And I definitely like the numerical ranking as opposed to the traffic light.

Are you following RankMath's keyword frequency recommendations to the letter? I always ignored Yoast on that, and figured it's good enough as long as the keyword hits an H2, once in the opening paragraph, and perhaps once or twice further down.
 

Cash Builder

BuSo Pro
Joined
Jan 14, 2017
Messages
293
Likes
289
Degree
1
I've been watching people mention RankMath for the last month or so, and have been tossing around the idea of switching.

So this morning I downloaded it and switched from Yoast. The wizard worked flawlessly, and I didn't run into any hiccups on the transition. I left the Schema module unactivated for now, and my post Schema now shows only the last dateModified, not datePublished (though comments still show datePublished).

Original goal met!

So far I'm impressed with RankMath's setup, though I've only used it a bit. It's nicely streamlined and quite feature-rich. I used to ignore 3/4 of what Yoast recommended, especially when it comes to content and language, but RankMath's list of SEO recommendations doesn't include a lot of the crap Yoast suggests. And I definitely like the numerical ranking as opposed to the traffic light.

Are you following RankMath's keyword frequency recommendations to the letter? I always ignored Yoast on that, and figured it's good enough as long as the keyword hits an H2, once in the opening paragraph, and perhaps once or twice further down.
The keyword frequency is the only thing that I don’t follow. Every post is apparently under optimised according to RankMath, even though the keyword is in the post 3 or 4 times. It would be interesting to increase it to the meet the guidelines to see if it helps rankings, although I don’t want to risk over optimising.

It’s always best to see what the competition is doing and match that.

Glad you got your schema problem sorted!
 
Joined
Sep 3, 2015
Messages
313
Likes
127
Degree
1
Hmmm, I was highly skeptical of RankMath when there was alot of Twitter talk about it (seemed like a co-ordinated marketing campaign) but given this Schema function roll out by Yoast maybe I have had enough and it's time to give it a try.