WordPress.org

Ready to get started?Download WordPress

Forums

SEO Not Working in My WordPress Theme (11 posts)

  1. maulsl
    Member
    Posted 4 years ago #

    Hello Everyone,

    I recently commissioned a gentleman to build a wordpress theme for my new business and as we have been drawing near completion I realized that the SEO plugins such as the All in One, Platinum and Headspace were not working and not allowing me to add Titles, Meta Descriptions or Meta Keywords to either my Home Page, Posts, Pages and Categories.

    I have a feeling it has something to do with the way that the website was coded, but I have no knowledge of what that could possibly be.

    Can anyone here provide me some assistance with helping me get these plugins to work so that I can SEO my website?

    Any help would be greatly appreciated.

    Thank you everyone

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    You need to discuss this with your current theme developer.

  3. maulsl
    Member
    Posted 4 years ago #

    Unfortunately he's not being of very much help and doesn't know.

    Is there a part of the coding on my website that someone can check to see if there is something wrong in there, which might be why plugins such as the All in One SEO plugin aren't working and displaying titles, meta keywords and descriptions?

  4. esmi
    Forum Moderator
    Posted 4 years ago #

    Maybe you need to consider hiring another developer? It's likely that the whole theme might need to be examined.

  5. maulsl
    Member
    Posted 4 years ago #

    -Oh man I hope not...

    I was actually able to fix the keywords and descriptions by adding this piece of coding to the header.php file: <?php wp_head(); ?>

    But still having problems with getting the titles to show up.

    Same happens when I deactivate the theme and try and use the base WordPress theme -- Plugin issue?

    If I needed to hire another developer do you have any personal recommendations of credible people?

  6. esmi
    Forum Moderator
    Posted 4 years ago #

    I was actually able to fix the keywords and descriptions by adding this piece of coding to the header.php file: <?php wp_head(); ?>

    In that case, make sure that footer.php also contains <?php wp_footer(); ?> - preferably right at the end of your displayed footer. Some plugins use this as a hook too.

    still having problems with getting the titles to show up

    Is this the meta-title?I If so, try dropping a copy of your theme's header.php file into the WordPress pastebin and post the pastebin url here. Perhaps someone will be able to spot the problem and suggest a solution.

    Same happens when I deactivate the theme and try and use the base WordPress theme -- Plugin issue?

    That could well be the case. HeadSpace2 can cause problems in WP 3.0:
    http://wordpress.org/support/topic/411432

  7. maulsl
    Member
    Posted 4 years ago #

    Thanks esmi for your assistance.

    Ya it's the meta-title that won't change for some reason. Already have the wp_footer set-up but that didn't fix it.

    Here's the pastebin link:

    Really hope someone can help me out.

  8. esmi
    Forum Moderator
    Posted 4 years ago #

    Try replacing:

    <title><?php if (is_home () ) { bloginfo('name'); }
    elseif ( is_category() ) { single_cat_title(); echo ' - ' ; bloginfo('name'); }
    elseif (is_single() ) { single_post_title();}
    elseif (is_page() ) { single_post_title();}
    else { wp_title('',true); } ?></title>

    with:

    <title><?php if (is_home () || is_front_page() ) { bloginfo('name'); }
    elseif ( is_category() || is)tag() ) { wp_title(' - ',true,'right'); bloginfo('name'); }
    else { wp_title('',true); } ?></title>
  9. maulsl
    Member
    Posted 4 years ago #

    Hey esmi,

    I just tried your suggestion and got this:

    Parse error: syntax error, unexpected ')' in /home/maulsl/public_html/abandonyouranxiety.com/wp-content/themes/panic/header.php on line 6

  10. esmi
    Forum Moderator
    Posted 4 years ago #

    Sorry - typo! Try:

    <title><?php if (is_home () || is_front_page() ) { bloginfo('name'); }
    elseif ( is_category() || is_tag() ) { wp_title(' - ',true,'right'); bloginfo('name'); }
    else { wp_title('',true); } ?></title>
  11. maulsl
    Member
    Posted 4 years ago #

    :(

    Still nothing...I just don't understand...

    If you have any other ideas I'm all open my friend.
    Thanks for your suggestions so far and taking the time to help
    me -- I really appreciate it.

Topic Closed

This topic has been closed to new replies.

About this Topic