• 19-05-2010, 23:31:42
    #1
    Üyeliği durduruldu
    Temadaki yaklaşık 50 hatayı temizledim. Fakat aşağıdaki hatanın çözümünü bulamıyorum. Yardımcı olabilir misiniz?

    Alıntı
    Error Line 13, Column 7: document type does not allow element "title" here
    <title>Site adı – site adresi</title>



    The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

    One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
  • 20-05-2010, 00:30:16
    #2
    Eposta Aktivasyonu Gerekmekte
    Kodu görmek lazım, birkaç ihtimal var.
  • 20-05-2010, 00:37:20
    #3
    Üyeliği durduruldu
    title kodu şu şekilde
    Alıntı
    <title><?php wp_title('&laquo;', true, 'right'); ?><?php bloginfo('name'); ?></title>
  • 20-05-2010, 00:50:15
    #4
    önceki ve sonraki birkaç satırı da yazsaydın keşke.. bu yazdığınla görebildiğimden tahmin yürütmek gerekirse, bir deneme yap diyeceğim: <title> ve </title> bu iki şeyi kaldır bakalım. belki de içteki kodlar yeniden title üretiyordur.
    tarayıcında sayfayı açıp kodları tarayıcıdan alman daha iyi olur. bizi daha çok aydınlatır.
  • 20-05-2010, 00:54:13
    #5
    Üyeliği durduruldu
    head head arasını vereyim bakalım. Bu arada yukarda verdiğim kodu wpseo üretiyor.

    Alıntı
    <head profile="http://gmpg.org/xfn/11">
    <title><?php wp_title('&laquo;', true, 'right'); ?><?php bloginfo('name'); ?></title>
    <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'); ?>" />
    <link rel="image_src" href="<?php echo get_post_meta($post->ID, "resim", true); ?>" />
    <?php wp_head(); ?>
    </head>
  • 20-05-2010, 01:57:37
    #6
    çözülmediyse site linki ver bakayım yada pm at
  • 20-05-2010, 02:31:28
    #7
    Eposta Aktivasyonu Gerekmekte
    Kodu sayfa kaynağından gönderirsen daha iyi olur. En iyisi varsa link yolla.
  • 21-05-2010, 00:50:30
    #8
    Üyeliği durduruldu
    Teşekkürler yardımlarınız için. Sorunu çözdüm. sadeeq arkadaşın dediği gibi 2 kere kod üretiliyormuş. Onu engelledim.
  • 21-05-2010, 02:02:07
    #9
    iyi madem geçmiş olsun.. :-)