wordpress meta tag
-
what should i put on meta tag in header, if i want my description showing when i share it on facebook.
What i have put are:
<title><?php the_title(); ?> | <?php bloginfo(‘name’); ?></title>
<meta name=”description” content=”<?php the_content(); ?>”/>
<meta name=”revisit-after” content=”5 days”/>
<meta name=”keywords” content=”Free Competitions to Enter, How to win, how to win competitions, competitions, Online Competitions, Competition, competitions, win, Fantastic prizes, Kiwi go to win, Kiwi, New Zealand”/><?php if(is_single() || is_page() || is_home()) { ?>
<meta name=”googlebot” content=”index,noarchive,follow,noodp” />
<meta name=”robots” content=”all,index,follow” />
<meta name=”msnbot” content=”all,index,follow” />
<?php } else { ?>
<meta name=”googlebot” content=”noindex,noarchive,follow,noodp” />
<meta name=”robots” content=”noindex,follow” />
<meta name=”msnbot” content=”noindex,follow” />
<?php }?>But seems doesnt work…
-
I’m sorry to report that you have accidentally posted to the wrong support forum. We cannot help you here at WordPress.com as we run on different software. This is the correct forum for your software http://wordpress.ORG/support/
WordPress.com vs WordPress.org: The Differences
- The topic ‘wordpress meta tag’ is closed to new replies.