WordPress.org

Ready to get started?Download WordPress

Forums

All In One SEO - Home page meta not working (5 posts)

  1. Anurag Rathod
    Member
    Posted 1 year ago #

    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.

  2. Paul Clark
    Member
    Posted 1 year ago #

    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
  3. Anurag Rathod
    Member
    Posted 1 year ago #

    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" style="border:none;width:100%"></iframe>

  4. Paul Clark
    Member
    Posted 1 year ago #

    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.

  5. Japh
    Member
    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic