WordPress.org

Ready to get started?Download WordPress

Forums

Add a meta tag (5 posts)

  1. freechi1
    Member
    Posted 4 years ago #

    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?

  2. stvwlf
    Member
    Posted 4 years ago #

    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.

  3. freechi1
    Member
    Posted 4 years ago #

    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)

  4. stvwlf
    Member
    Posted 4 years ago #

    Hi

    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.

  5. Nile Flores
    Member
    Posted 4 years ago #

    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. :)
    http://wordpress.org/extend/plugins/all-in-one-seo-pack/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.