+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 11 to 11 of 11

Thread: Any Good Meta Keyword Plug-ins?

  1. #11
    Join Date
    Jun 2004
    Location
    Arizona, USA
    Posts
    4,846

    Default Re: Any Good Meta Keyword Plug-ins?

    For anyone interested, here is a simple hack that will control the TDKs on your index page and generate dynamic TDKs on the rest of your blog pages.

    Note... This hack is limited in that the page descriptions and keywords will be the same as the page title but it will get you through until a suitable and working plugin is available.

    In header.php find:
    Code:
    <title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
    Replace it with:
    Code:
    <title><?php if(is_home()) : ?><?php bloginfo('name'); ?></title><?php else : ?><?php wp_title('', display); ?> </title><?php endif; ?> 
    <meta name="description" content="<?php if(is_home()) : ?>Insert your index page description here.<?php else : ?><?php wp_title('', display); ?><?php endif; ?>">
    <meta name="keywords" content="<?php if(is_home()) : ?>Insert your index page keywords here.<?php else : ?><?php wp_title('', display); ?><?php endif; ?>">
    You can see it in action here: SEO Bulletin
    Last edited by ResaleBroker; 05-20-2006 at 08:57 AM.

+ Reply to Thread
Page 2 of 2 FirstFirst 1 2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts