Welcome to WebmasterWorld Guest from 3.92.92.168

Forum Moderators: rogerd & travelin cat

Yoast Meta property not changing

How to update the Meta property tag

     
5:13 pm on Oct 20, 2019 (gmt 0)

New User

Top Contributors Of The Month

joined:Oct 4, 2019
posts: 9
votes: 0


I have the Premium edition of Yoast and the Woocommerce upgrade.

Yoast has added a lot of meta property tags and what I’m seeing is image tags are not being updated when the images change.

i.e.

This is how the tags read when the page was created.

<meta property=”og:image” content=”https://example.com/wp-content/uploads/2019/03/3250-or58ed.jpg” />
<meta property=”og:image:secure_url” content=”https://example.com/wp-content/uploads/2019/03/3250-or58ed.jpg” />

We have been going thru the site and changing image names to something more SEO friendly. So in the above case the image “3250-or58ed.jpg” might be changed to “my-product-title.jpg”.

When we reupload it the html changes of course, but all the meta tags for the image don’t.

In time our plan was to delete the old images off the server which would leave the tags pointing to a non-existence image.

How would we best handle this?

Any advice appreciated.

Kerry


[edited by: not2easy at 5:38 pm (utc) on Oct 20, 2019]
[edit reason] Please use example.com to avoid filters [/edit]

5:52 pm on Oct 20, 2019 (gmt 0)

Administrator from US 

WebmasterWorld Administrator not2easy is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Dec 27, 2006
posts:4562
votes: 364


Because WP runs from a database (.sql) that is updated periodically through the day you may note that not all changes are instantly visible and digested by all plugins which take their info from the db on record. Then there is cache. Best to clear your browser cache after any changes to be sure you are seeing new content.

Since (afaik) your premium version of Yoast includes support you might wish to ask them whether there is a better way to accomplish your goals.

Just a note about the edit above - your post was automatically set to pre-mod status because it included links. "mysite" is not a good replacement for your own domain because it is a real domain probably owned by someone. Most of our Charters ask us to anonymize an URL for posting by using "example.com" (or example.new or example.old) in place of any other substitute because example.com was set aside for such use and cannot belong to anyone. It is a common cause of submitting a post and not having it published instantly. ;)

8:35 pm on Oct 20, 2019 (gmt 0)

New User

Top Contributors Of The Month

joined:Oct 4, 2019
posts: 9
votes: 0


I have posted on their support forum on Wordpress.com twice and the last few weeks and get no replies whatsoever. :( Maybe I'm posting in the wrong place for premium support.
8:40 pm on Oct 20, 2019 (gmt 0)

New User

Top Contributors Of The Month

joined:Oct 4, 2019
posts: 9
votes: 0


Also, I checked with two other browsers which had never visited the site before and the meta property has not changed. This is over 30 hours since the change was made so I'm thinking there is an issue.
8:52 pm on Oct 20, 2019 (gmt 0)

Administrator from US 

WebmasterWorld Administrator not2easy is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Dec 27, 2006
posts:4562
votes: 364


I used your the link you posted to the meta-keywords article yesterday to go to Yoast's site, clicked on the Help link in their top menu and found this link: https://kb.yoast.com/kb/support/#premium - It says there you have 24/7 support. :)