Support » Fixing WordPress » Add a meta tag

  • Hi! I need to add a meta tag to .. ‘my site’s home page in the first <HEAD> section of the page, before the first <BODY> section.’
    Problem is I don’t know how to find the html on my home page (oops!) can anybody help?

Viewing 4 replies - 1 through 4 (of 4 total)
  • in most themes what you are looking for is found in your theme’s header.php file. If for example you are using the default theme, the theme files are located in /wp-content/themes/default/ All other themes are also in that /themes/ folder. Check your theme’s header.php file.

    Ummm….I am a bit of a dummy! Can you tell me where to find the header.php file? Is this to be found on the actual blog? or somewhere in my computer?
    (Sorry, but I am really new at this)


    I explained in the first reply where you find it. Everything in WP is on the web, not on your computer.

    The easiest way for you to do this is use the WP online editor.
    In the admin area, left column click Appearance once and then click Editor

    When the editor appears the stylesheet will be loaded in it. Look in the extreme right column, find header.php and double click it. In most themes that will be the file to edit the meta tags.

    Nile Flores


    Yoast Support

    Just in case.

    @freechi1 – When you sign into your WordPress admin panel. Look for “Appearance” in your sidebar, click it, and then your should see a link for “Editor”. Click that and you will see a page that lists on the left all of the different templates to your theme. Look for header.php and you can edit there.

    You will want to put those tags in before the </head> tag, which is the tag before <body>

    You can also install the All-In-One-SEO pack plugin for WordPress, and add your meta tags in the fields that the plugin puts on each of your posts and pages. 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add a meta tag’ is closed to new replies.