• I am using “All In One SEO” plug-in for mt WP site. It sets meta for all page properly but not for home page.

    I set wp_head() properly just before </meta> but still no result.

Viewing 4 replies - 1 through 4 (of 4 total)
  • wp_head() should go before </head>, not </meta>. You’ll also need to use wp_title() for your title tag.

    Because your problem only effects the home page, check the contents of wp-content/themes/your-theme/home.php, front-page.php, index.php, and header.php. See if any of those indicate there’s different behavior for your home page header than your normal header.php output, if it exists.

    Other than those guesses, there’s not much that can be done with the information you provided. Some additional details that would be help resolve the problem:

    • Link to your site
    • What theme are you using? Link to the theme if publicly available.
    • Is it a custom theme? Include the contents of your relevant files, like header.php, home.php, index.php using pastebin.com
    Thread Starter Anurag Rathod

    (@anuragesw)

    Sorry it was my bad..

    I put wp_head() before </head>.
    I did it in my theme’s header.php file.

    My theme is “Sona” and it is purchased from “themeforest”.

    My code..
    <iframe src=”http://pastebin.com/embed_iframe.php?i=cKHApbDq&#8221; style=”border:none;width:100%”></iframe>

    That code looks fine to me, unless the author is outputting meta tags in the included file TEMPLATEPATH . '/css/dynamic-styles.php', or is loading a different head for the home page only. The output of the theme demo on themeforest also looks fine.

    Try verifying that the problem isn’t with AIOSEO by installing an alternative SEO plugin, like WP SEO. Also check that you’re setting the home page metadata in the right place — if it’s a static home page (single page), it’d be in the metadata for that page. If it’s a blog listing, it’d be in AIOSEO Site Settings > Home Title.

    If neither of those turn something up, try contacting the theme author. If ThemeForest doesn’t give you their contact information, there’s also the comments section on the theme page.

    Hey guys, you can always contact a ThemeForest author using the contact form on their profile page, and they’re always the best person to contact for help with a theme.

    In the case of the Sona theme, the author is Pulsion and can be contacted here: http://themeforest.net/user/Pulsion

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘All In One SEO – Home page meta not working’ is closed to new replies.