SMF'de konu başlıklarını keywords'da gösterme

Started by SacmaliK, September 28, 2006, 12:43:53 PM

Previous topic - Next topic

earslan

Quoteana sayfanıza siteniz.com/arsiv.html [nofollow] ve siteniz.com/sitemap/ [nofollow] diye link verin hepsi bu

bunu nasıl vereceğiz ?  :(  kusura bakmayın acemilik üst safhada değilmi ??
<a href="http://www.tesbihshop.com [nofollow]">Tesbih</a>

SacmaliK

#281
index.temlpate.php de

Code (bunu bul) Select
', theme_copyright(), '

Code (değiştir) Select
', theme_copyright(), ' <br /> <a href="http://www.senin siten.com /forum/arsiv.html">arsiv</a>

http://www.senin siten.com/forum/arsiv.html

senin siten yazan yeri kendine göre değiştireceksin forum ana dizinde ise /forum/ dizinini kaldırman gerekiyor link aşağıdaki gibi olmalı

http://www. senin siten.com/arsiv.html

My Mods
Veoh Bbc Tag:here
Topic get Keywords:here
...

SacmaliK


My Mods
Veoh Bbc Tag:here
Topic get Keywords:here
...

earslan



Bunu anladım peki diğer
Quote<meta name="keywords" content="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />

ve no index yazan metaları kaldırmalımıyım acaba? Net bir sonuç göremedim kaldır veya kaldırma ?
<a href="http://www.tesbihshop.com [nofollow]">Tesbih</a>

SacmaliK

Quote from: earslan on February 13, 2008, 01:58:55 PM


Bunu anladım peki diğer
Quote<meta name="keywords" content="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />

ve no index yazan metaları kaldırmalımıyım acaba? Net bir sonuç göremedim kaldır veya kaldırma ?

iki keywords tagı anlamsız olur

Code (bunu kaldır) Select
<meta name="keywords" content="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />

bu yüzden bunu kaldırmalısın ve yerine benim verdiğim otomatik keywords tagını eklemelisin
<meta name="keywords" content="'.$keywords_.'" />

noindex olayı hakkında fikrim yok ben kullanmıyorum devler bile çelişkide o kodun ne işe yaradığı hakkında :)

My Mods
Veoh Bbc Tag:here
Topic get Keywords:here
...

earslan



No index olayını kullanmamaya karar verdim ve şu şekilde düzenledim;

Quote// The main sub template above the content.
function template_main_above()
{
   global $context, $settings, $options, $scripturl, $txt, $modSettings;

$stop_words=  array("I "," a "," about "," an "," are "," as "," at "," be "," by "," com "," de "," en "," for "," from "," how ","How "," in "," is"," it "," la "," of "," on "," or ","Or "," that "," the ","The "," this "," to "," was "," what "," when "," where "," who ","Who "," will "," with "," und "," the "," www ","!",".","?","=","-");
        $keywords_ = str_replace($stop_words," ",$context['page_title']);
        $keywords_ =  preg_replace ( "/\s\s+/" , " " , $keywords_);
        $keywords_ = str_replace(" ",", ",trim($keywords_));

   // Show right to left and the character set for ease of translating.
   echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd [nofollow]">
<html xmlns="http://www.w3.org/1999/xhtml"' [nofollow];, $context['right_to_left'] ? ' dir="rtl"' : '', '><head>
   <meta http-equiv="Content-Type" content="text/html; charset=', $context['character_set'], '" />   
   <meta name="keywords" content="'.$keywords_.'" />
   <meta name="robots" content="all" />', '
   <meta name="robots" content="index, follow" />
   <meta name="googlebot" content="index, follow" />
   <meta name="revisit-after"content="1 days" />
   <script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script>
   <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
      var smf_theme_url = "', $settings['theme_url'], '";
      var smf_images_url = "', $settings['images_url'], '";
      var smf_scripturl = "', $scripturl, '";
      var smf_iso_case_folding = ', $context['server']['iso_case_folding'] ? 'true' : 'false', ';
      var smf_charset = "', $context['character_set'], '";
   // ]]></script>
   <title>', $context['page_title'], '</title>';


No İndex yazan şu yeride kaldırdım ;

Quote<meta name="description" content="', $context['page_title'], '" />', empty($context['robot_no_index']) ? '' : '

Link olayınıda hallettim.

Ayrıca siteme bir göz atabilirmisin acaba www.hobiclub.com [nofollow]

Ayrıca teşekkürler desteğin için..  :)
<a href="http://www.tesbihshop.com [nofollow]">Tesbih</a>

SacmaliK

siten gayet güzel yalnız baya baya bi konu lazım kategorileri zaman buldukça doldur
birde aşağıdaki ufak değişikliği yap daha bi faydalı olacaktır
Code (bul) Select
<title>', $context['page_title'], '</title>


Code (değiştir) Select
<title>', $context['page_title'], ',  '.$keywords_.'</title>

My Mods
Veoh Bbc Tag:here
Topic get Keywords:here
...

SacmaliK

bunlar ufak tefek ayrıntılar gibi gözükebilir lakin göründüğünden çok daha etkili sonuçlar verir

My Mods
Veoh Bbc Tag:here
Topic get Keywords:here
...

earslan

Teşekkürler paylaşım ve yardımın için bu konu ne zamandır kafamı kurcalıyordu öncelikle bunu nasıl yapacağımı öğrenmek istedim inşallah bundan sonra doldurma ve ek modifikasyonlara geçeceğim. Şu webersinin sitemapında utf-8 hatası veriyor ve daha önce googlede hata vermişti bilgin varmı acaba?
<a href="http://www.tesbihshop.com [nofollow]">Tesbih</a>

SacmaliK

benim verdiğim sitemaps eklentisi aynı işi yapıyor şu an kullanıyorsun hatta aşağıdaki sayfayı sitemaps.xml diye farklı kaydet ana dizine at google sitemaps'a tanıt hepsi bukadar ;)
http://www.hobiclub.com/sitemap/sitemaps.php

My Mods
Veoh Bbc Tag:here
Topic get Keywords:here
...

BuyCu

* sitemaps-tr.zip  dosyayı indirdim,içindeki hangi dosyaları ana dizne atıcam ?

SacmaliK


My Mods
Veoh Bbc Tag:here
Topic get Keywords:here
...

josereyes

<meta name="keywords" content="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />

orjinalindeki bu key kelimeleri kaldırıp kendi sitemizin içeriği ile ilgili anahtar kelimeleri yazsak sorun olurmu? veya faydası olurmuki?

josereyes

flood gibi olmasın ancak Sacmalik ben bişeyler yapmaya çalıştım umarım olmuştur kontrol etmen mümkünmü? ve eksik yada şunun yerine şunu yap yada yaparsan daha iyi olur dediğin noktalar varmı tavsiyelerini dinlemek isterim...

// The main sub template above the content.
function template_main_above()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;
$stop_words=  array("I "," a "," about "," an "," are "," as "," at "," be "," by "," com "," de "," en "," for "," from ","

how ","How "," in "," is"," it "," la "," of "," on "," or ","Or "," that "," the ","The "," this "," to "," was "," what

"," when "," where "," who ","Who "," will "," with "," und "," the "," www ","!",".","?","=","-");
        $keywords_ = str_replace($stop_words," ",$context['page_title']);
        $keywords_ =  preg_replace ( "/\s\s+/" , " " , $keywords_);
        $keywords_ = str_replace(" ",", ",trim($keywords_));

// Show right to left and the character set for ease of translating.
echo '<!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"', $context['right_to_left'] ? ' dir="rtl"' : '', '><head><link rel="shortcut

icon" href="favicon.ico">
<meta http-equiv="Content-Type" content="text/html; charset=', $context['character_set'], '" />
<meta name="description" content="', $context['page_title'], '" />', empty($context['robot_no_index']) ? '' : '
<meta name="robots" content="noindex" />', '
<meta name="keywords" content="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />
        <META name="y_key" content="3ea1988242f829ff" >
        <meta name="robots" content="all">
        <meta name="robots" content="index, follow" />
        <META NAME="googlebot" CONTENT="index, follow">
        <META NAME="REVISIT-AFTER" CONTENT="1 Days">
        <meta name="keywords" content="'.$keywords_.', radyo, müzik, klip, video, şarkı, rock, alternatif rock, dj, parça,

albüm, blog, muzik, canli, oyun, radio, haber, bu, kim, söz" />
        <meta name="user-agent" value="Mediapartners-Google" content>

<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'],

'/script.js?fin11"></script>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var smf_theme_url = "', $settings['theme_url'], '";
var smf_images_url = "', $settings['images_url'], '";
var smf_scripturl = "', $scripturl, '";
var smf_iso_case_folding = ', $context['server']['iso_case_folding'] ? 'true' : 'false', ';
var smf_charset = "', $context['character_set'], '";
// ]]></script>
<title>', $context['page_title'], ',  '.$keywords_.'</title>';

SacmaliK

<meta name="keywords" content="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />

bunu silmen gerekiyor

My Mods
Veoh Bbc Tag:here
Topic get Keywords:here
...

josereyes

Quote from: SacmaliK on February 19, 2008, 09:05:56 AM
<meta name="keywords" content="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />

bunu silmen gerekiyor

Hemen siliyorum hocam...
bunun dışında ingilizce olarak verdiğin kelimeleri türkçe olarak değiştirsem daha iyi olmazmı? ve bu key lerden başka key eklesem yani daha fazla sorun olurmu google felan açısından?

SacmaliK


My Mods
Veoh Bbc Tag:here
Topic get Keywords:here
...

josereyes

tamam teşekkür ettim hocam ellerine sağlık...
biraz bekleyip görmemiz lazım bakalım nasıl sonuçlar verecek...
tekrardan sağolasın, eyvallah...

TugruL

Sacmalık bütün bilgiler için çok teşekkürler. hepsini aynen yaptım ancak resimdeki gibi forumun en üstünde bi yazı belirdi. onu nasıl yok edebilirm. ordaki link tam olarak değişiklik yaptığımız meta tag ların altında duruyo ama nasıl düzelteceğimi bulmadım. acil yardım ederseniz sevinirim!


SacmaliK

kodları eklerken bi yanlışlık yapmışsın muhtemelen yoksa böyle bi problem olası değil

My Mods
Veoh Bbc Tag:here
Topic get Keywords:here
...

Advertisement: