Your Ad Here

PDA

View Full Version : Letak Meta Tags Wordpress sebelah mana ya?


uDins
04-28-2006, 09:58 PM
ini saya sertakan header.php web saya

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> <?php } ?> <?php wp_title(); ?></title>

<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->

<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

<style type="text/css" media="screen">
/* To accomodate differing install paths of WordPress, images are referred only here,
and not in the wp-layout.css file. If you prefer to use only CSS for colors and what
not, then go right ahead and delete the following lines, and the image files. */

body { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgcolor.jpg"); }
<?php /* Checks to see whether it needs a sidebar or not */ if ((! $withcomments) && (! is_single())) { ?>
#page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbg.jpg") repeat-y top; border: none; }
<?php } else { // No sidebar ?>
#page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgwide.jpg") repeat-y top; border: none; }
<?php } ?>
#header { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickheader.jpg") no-repeat bottom center; }
#footer { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickfooter.jpg") no-repeat bottom; border: none;}

/* Because the template is slightly different, size-wise, with images, this needs to be set here
If you don't want to use the template's images, you can also delete the following two lines. */

#header { margin: 0 !important; margin: 0 0 0 1px; padding: 1px; height: 198px; width: 758px; }
#headerimg { margin: 7px 9px 0; height: 192px; width: 740px; }

/* To ease the insertion of a personal header image, I have done it in such a way,
that you simply drop in an image called 'personalheader.jpg' into your /images/
directory. Dimensions should be at least 760px x 200px. Anything above that will
get cropped off of the image. */
/*
#headerimg { background: url('<?php bloginfo('stylesheet_directory'); ?>/images/personalheader.jpg') no-repeat top;}
*/
</style>

<?php wp_head(); ?>
</head>
<body>
<div id="page">


<div id="header">
<div id="headerimg">
<h1><a href="<?php echo get_settings('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
<div class="description"><?php bloginfo('description'); ?></div>
</div>
</div>
<hr />



mohon bantuan di tag mana saya memasang deskripsi dan keywords soalnya dah cari referensi tpi ndak mudeng2 soale susah tenen iki...

scar tissue
09-07-2006, 03:57 PM
<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?>* <?php } ?> <?php wp_title(); ?></title>

meta tag description
meta tag keywords

<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->


Haloo, toloooong !

1. apa kita harus taruh meta tag description dan meta tag keywords seperti diatas ini ? karena setelah dicoba kok malah jadi ERROR padahal sudah ngikutin panduan yang ada di http://codex.wordpress.org/Meta_Tags_in_WordPress

2. saya ngetes di http://www.webconfs.com/search-engine-spider-simulator.php tapi hasilnya gini neh :

- - -

Meta Keywords :
No meta kewords found - bingung* ???

Meta Description :
Internet marketing tips, guides and information. From affiliate programs, opt-in list to bla..bla..bla..

- - -

note : meta description diatas ini saya buat di Admin > Options > General > Tagline

3. apa meta tag description sudah tidak perlu di-input lagi di header.php apabila kita sudah buat di Admin > Options > General > Tagline ?

4. selain header.php apakah index.php juga perlu diinput untuk meta tag keywords dan meta tag description-nya ?

mohon bantuan dari teman2 yang sudah biasa pake WP*atau kalo sudah ada thread yang sempat mengulas ini tolong diinfo soalnya dah nyari dari tadi gak nemu2* ;)

note : tadinya mau PM ke mbak Yulia/mas Cosa tapi batal karena liat thread ini dan belum ada juga yang ngasih masukan, jadi sekalian aja dahh - biar yang lain juga bisa ikutan baca dan sama2 belajar ;D

Thanks berat !

Gold_Hunter
09-15-2006, 09:57 AM
itu dah pake plugin ya ? (apa blon)..biasanya kl pake XFish Meta (yg jelek itu) keluar no keywords spt itu.

kalo iya......(sorry pusing baca postingan situ :D)
tambah disetiap postingan:
Add a new custom field:
Key:Keywords
Value : keywords yg diinginkan

kl blon pake plugin..pake deh banyak ko yg auto generate...jg XFish Meta aja (tau sekarang dah bagus pa blon)

scar tissue
10-10-2006, 02:33 PM
to : Gold_Hunter dan mbak Yulia,

thanks berat buat masukkannya, sori telat banget bis dah lamaa gak login neh ;D