How to fix html in Wordpress?

by JB
5 replies
  • WEB DESIGN
  • |
Hi All,
I have a site which is causing problems in Facebook. FB can't publish any links to the site and it seems to be an issue with the meta tags. I pasted the homepage url into validate.w3.org and there were a whole load of issues that popped up with missing > at the end of meta tags.
My problem is, I have no idea where to look to fix these issues. All of the templates are php and the css makes no reference either.... Any idea where I can find the html pages to be able to fix these broken tags?
Thanks,
Dave
#fix #html #wordpress
  • Profile picture of the author omy123
    If you want to fix meta tags, you should use some meta tag plugins, because all the meta tags and html stuff is dynamic, you found any custom tag of meta data for those pages. USe All in one seo plugin..
    {{ DiscussionBoard.errors[5434462].message }}
    • Profile picture of the author JB
      Thanks for the reply, so do I include those meta tags in All in One SEO plugin under 'Additonal Page Headers'? I already have this plugin installed and another which defines the meta tags and post/page image but it doesn't seem to be working...
      {{ DiscussionBoard.errors[5434576].message }}
      • Profile picture of the author JB
        I just tried adding the meta:

        <meta name="title" content="Genesis Krav Maga - Baldoyle" />
        <meta name="description" content="Krav Maga self defense and conditioning classes in Dublin" />
        <link rel="image_src" href="http://genesiskravmaga.com/wp-content/uploads/2011/12/Genesislide1b.jpg" />

        to the Additional Page Header, Additional Homepage header, Additional post header but still the same, unless it takes Facebook a couple of hours to scrape the update. I'll leave it for now but if you have any other suggestions, please let me know.
        Thanks,
        Dave
        {{ DiscussionBoard.errors[5434690].message }}
  • Profile picture of the author kokopelli
    Provide a link to the site, so we can have a look ...
    Signature
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    {{ DiscussionBoard.errors[5437868].message }}
  • Profile picture of the author frenchsquared
    WAIT... what is facebook saying?
    are you sure you dont need to add the facebook meta?

    Like this stuff:
    <meta property="og:title" content="Flash and Actionscript Tutorials" /> <meta property="og:description" content="Your source for great flash and actionscript tutorials. Source file are included with all tutorials." /> <meta property="og:site_name" content="Frenchsquared" /> <meta property="og:url" content="http://www.frenchsquared.com/" />
    {{ DiscussionBoard.errors[5438046].message }}

Trending Topics