Google Structured Data - Joomla

Paul Risko
Paul Risko used Ask the Experts™
on
Hello,

When I test http://www.reliablefilter.com and all the child pages, I get 5 errors and 2 warnings.
When you click on one of the errors it takes you to line 299 <div class="item-page" itemscope itemtype="http://schema.org/Article">.
I know I do not have any of the values specified but how do I fix these errors?

I don't understand where <div class="item-page" itemscope itemtype="http://schema.org/Article"> came from. Is this some Joomla adds automatically when you create a new article? I added the structured data for LocalBusiness, Website and breadcrumbs.

Thanks.

Joomla Vers. 3.6.2
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Web Designer & Developer
Commented:
Hi Paul,
well the tag comes most probably from the index.php file in the "templates/yourtemplate" folder. It might be added from some plugin you installed.

please open the index.php in a editor and search for the tag... when I opened your web page and viewed page source, it is on line 312.

so delete out the words "itemscope itemtype="http://schema.org/Article" from the div tag and upload the file... check for errors again, they should be gone...

the corrected div tag should look like:
<div class="item-page">
<meta itemprop="inLanguage" content="en-GB" />

Open in new window


if you don't find the tag in index.php page, then you will have to search it in the php file in plugins / modules or in components folder. I cant guide you where exactly you will find it as I don't know which plugin you have used and its file structure.

hope this helps.

thanks,
Prasadh

Author

Commented:
No luck with the index.php. It will take me while but I'll have to fish for it. Thanks so much.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial