lovelygifts Posted July 8, 2019 Posted July 8, 2019 Hi, So I've tried to figure out how and which files I go into to fix this problem. But as I'm not coder it's thrown me. Can someone please point me in the right direction....... This is my error(s) showing in Google webmaster: Unparsable structured dataInvalid value in field "itemtype"I can see it relates to my blog posts - so assume it's somewhere in there. What do I do and what should the itemtype be please? Thanks in advance, Claire
wakabayashi Posted July 8, 2019 Posted July 8, 2019 If it refers to the blog. First important information is: which blog module do you use? It would also be helpful to have a link to the blog post or blog category where the error occurs.
lovelygifts Posted July 8, 2019 Author Posted July 8, 2019 My apologies. The links it relates to are https://lovely-gifts.co.uk/blog https://lovely-gifts.co.uk/blog/4-tips-to-keep-spiders-away-naturally https://lovely-gifts.co.uk/blog/essential-oils-for-tattoo-healing https://lovely-gifts.co.uk/blog/what-actually-is-aromatherapy It's the thirtybees blog module that was already installed. Thanks 1
datakick Posted July 8, 2019 Posted July 8, 2019 There's a bug in in beesblog module - it emits invalid metadata to the page. To fix this, you will need to modify templates and apply this fix 1
lovelygifts Posted July 9, 2019 Author Posted July 9, 2019 Thanks so much for taking the time out to respond, it's much appreciated. I don't understand a lot of code jargon... I'm unsure as to what the fix is. I see where they are now in the files but unsure of what I'm supposed to put as itemtype and itemscope. .. thanks in advance.
lovelygifts Posted July 9, 2019 Author Posted July 9, 2019 Would I perhaps change it to this: <div itemscope itemtype="https://schema.org/BlogPost">
lovelygifts Posted July 9, 2019 Author Posted July 9, 2019 45 minutes ago, lovelygifts said: Would I perhaps change it to this: <div itemscope itemtype="https://schema.org/BlogPost"> ok so that doesn't work.. I've tried reading the forum's and posts on the www. but I just don't understand it. I'm too thick for this!
wakabayashi Posted July 9, 2019 Posted July 9, 2019 This tells you what to do: https://github.com/thirtybees/beesblog/commit/471b64dbb8b6c50b2ce2bb0e1d547a2e6f777fca Let me explain a bit. You need to go into your module files: /modules/beesblog/views/templates/front/post.tpl There you remove the red line as you see it in github. You add the green line on the same position. Then you do the same for /modules/beesblog/views/templates/front/post_list_item.tpl
lovelygifts Posted July 9, 2019 Author Posted July 9, 2019 5 minutes ago, wakabayashi said: This tells you what to do: https://github.com/thirtybees/beesblog/commit/471b64dbb8b6c50b2ce2bb0e1d547a2e6f777fca Let me explain a bit. You need to go into your module files: /modules/beesblog/views/templates/front/post.tpl There you remove the red line as you see it in github. You add the green line on the same position. Then you do the same for /modules/beesblog/views/templates/front/post_list_item.tpl Thank you thank you thank you ;)... I found the files in my directory, it was just the rest of it haha. You are so kind. Ok I'll get that done.
lovelygifts Posted July 9, 2019 Author Posted July 9, 2019 I will update once done and confirm if it works.
datakick Posted July 9, 2019 Posted July 9, 2019 Also, note that some themes (usually the one based on community theme) have their own copies of these template files located in /themes/<theme name>/modules/beesblog/views/templates/front/post.tpl /themes/<theme name>/modules/beesblog/views/templates/front/post_list_item.tpl and you need to fix these files as well. In fact, if these files exists, you don't have to worry about template files inside modules directory. Files located in theme directory have precedence over files located in modules directory. 1
lovelygifts Posted July 9, 2019 Author Posted July 9, 2019 So I did it and Google says this: Cannot continue validation process Affected pages were found. Fix the issue and run validation again https://lovely-gifts.co.uk/blog/4-tips-to-keep-spiders-away-naturally https://lovely-gifts.co.uk/blog/essential-oils-for-tattoo-healing https://lovely-gifts.co.uk/blog/welcome-discount-at-lovely-gifts-pieces-2019 BELOW IS WHAT I DID AS PER ADVISE - <article> <div id="sdsblogArticle" class="clearfix beesblog-post-list-item"> <div id="beesblog-before-post"> {$displayBeesBlogBeforePost} </div> <article> <div class="clearfix beesblog-post-list-item"><div id="beesblog-post-{$post->id|intval}"></div>
wakabayashi Posted July 9, 2019 Posted July 9, 2019 Have you deleted cache? I still see the wrong html code when I visit your blog post. Have you checked datakicks adivce with the theme folder?
lovelygifts Posted July 9, 2019 Author Posted July 9, 2019 Yep I've just cleared cache from back office dashboard just now but I did check the theme folder before... it says validation started so I guess I wait to see if that's fixed it right? Gosh this is so difficult haha I moved from zen cart because I thought this would be easier, which it is in many ways, but I never had these kind of errors before. ;/
wakabayashi Posted July 9, 2019 Posted July 9, 2019 Probably ZenCart doesn't even do the rich snippets 🙂 It's also a question of training... With every day you get better, to handle your store. 1
lovelygifts Posted July 9, 2019 Author Posted July 9, 2019 6 minutes ago, wakabayashi said: Probably ZenCart doesn't even do the rich snippets 🙂 It's also a question of training... With every day you get better, to handle your store. I know.. It's all a learning curve
datakick Posted July 9, 2019 Posted July 9, 2019 You should double check that you have you modified the right template files (there are two you need to fix). Also, see my previous comment about theme templates that takes precedence over module templates. If you are sure that you changed the right files, then the issue must be in cache. Clear your server cache. If you use cloudflare or similar CDN, clear those as well
lovelygifts Posted July 10, 2019 Author Posted July 10, 2019 20 hours ago, datakick said: You should double check that you have you modified the right template files (there are two you need to fix). Also, see my previous comment about theme templates that takes precedence over module templates. If you are sure that you changed the right files, then the issue must be in cache. Clear your server cache. If you use cloudflare or similar CDN, clear those as well Morning, yep done all of the above. I've started validation on Google so await the results. I've got lots of pages with warnings for missing field values such as price valid until, missing review field, missing brand etc... now, I don't have brands module enabled and I don't have expiry dates on prices of the products, therefore, do I need to concern myself with these warnings? Will they affect my ranking? If they are not relevant, should it not matter?
wakabayashi Posted July 10, 2019 Posted July 10, 2019 No you don't need to concern too much about these warnings. Since some weeks google got aggressive in making this warnings. Rich snippets are no direct ranking factor, but they can help indirect. An example: If you have rich snipped correctly implemented for ratings. You have the chance that google shows stars for your products. This can help, that more people click on it. BUT what if you have 0 reviews for a product? Then google will warn you and you can't even do something, since you just don't have ratings. In short: fix the one, who takes a few minutes. But invest the hours in improving your shop in general. (Descriptions, Images, Blog posts, Newsletters and so on...) 1
lovelygifts Posted July 10, 2019 Author Posted July 10, 2019 Bless you thank you. I've been reading and researching and I got the impression that if it's not relevant, I don't need to do anything. However, agree on the working progress of the overall website is my main goal. I shall focus on the parts that urgently need attending to and try my best to figure it all out. It's great to have this forum though and people like yourselves to just clarify things sometimes, especially since I'm not web code minded. Thanks so much for your guidance. Claire. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now