• 26-08-2010, 22:57:54
    #1
    Merhaba arkadaşlar sizle yeni fark ettiğim bir sorumu paylaşacağım sitemdeki arama formundan herhangi bir kelime ile arama yaptığımda bu kelime neolursa olsun direk 404 şablonuna atıyor tam anlamanız için linki koyucam bi bakarsanız sevinirim http://www.saglikekseni.com arkadaşlar yardımlarınızı bekliyorum lütfen yardım edin
    Şimdiden teşekkürler.
  • 26-08-2010, 23:30:24
    #2
    <form method="get" id="searchform" action="Sağlık Ekseni/">

    şununla değiştirin.

    <form method="get" id="searchform" action="/">
  • 27-08-2010, 10:13:27
    #3
    arkadaşım bende o kısımda şöyle yazılmış
    <form method="get" id="searchform" action="<?php bloginfo('Home'); ?>/">
    senin dediğin gibi değiştirdim fakat sorun çözülmedi .. yardım ettiğin için teşekkür ederim.
  • 27-08-2010, 12:20:45
    #4
    Arama formunun kodunu paylaşırsan düzeltip vereyim
  • 27-08-2010, 23:04:33
    #5
    hangi koddan bahsediyorsun tam olarak biraz daha açıklarsan hemen veririm. search.php den mi bahsediyorsun.
  • 27-08-2010, 23:18:42
    #6
    <form method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
    searcform.php'nin ilk sırası böyle bende...
  • 28-08-2010, 11:12:19
    #7
    işte arkadaşım burda galiba benimtemanın içinde searchform.php yok sadece search.php var
  • 28-08-2010, 13:44:28
    #8
    header.php kodlarını verirsen yardımcı olabilirim
  • 28-08-2010, 14:17:36
    #9
    header kodu burda
    <!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 wp_title(); ?>

    </title>

    <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/style.css" />

    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />

    <link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />

    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

    <link rel="shortcut icon" href="<?php bloginfo('template_directory'); ?>/images/favicon.ico" />

    <?php if (function_exists('wp_enqueue_script') && function_exists('is_singular')) : ?>

    <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>

    <?php endif; ?>

    <?php wp_head(); ?>

    <script type="text/javascript"><!--//--><![CDATA[//><!--

    sfHover = function() {

    if (!document.getElementsByTagName) return false;

    var sfEls = document.getElementById("menu").getElementsByTagNa me("li");



    for (var i=0; i<sfEls.length; i++) {

    sfEls[i].onmouseover=function() {

    this.className+=" sfhover";

    }

    sfEls[i].onmouseout=function() {

    this.className=this.className.replace(new RegExp(" sfhover\\b"), "");

    }

    }



    var sfEls = document.getElementById("topnav").getElementsByTag Name("li");



    for (var i=0; i<sfEls.length; i++) {

    sfEls[i].onmouseover=function() {

    this.className+=" sfhover";

    }

    sfEls[i].onmouseout=function() {

    this.className=this.className.replace(new RegExp(" sfhover\\b"), "");

    }

    }



    }

    if (window.attachEvent) window.attachEvent("onload", sfHover);

    //--><!]]></script>

    <!--end: dropdown menu-->

    </head>

    <script type="text/javascript">



    var _gaq = _gaq || [];

    _gaq.push(['_setAccount', 'UA-16725561-2']);

    _gaq.push(['_trackPageview']);



    (function() {

    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;

    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';

    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);

    })();



    </script>

    <body>

    <div id="wrapper">

    <div id="top">

    <div id='topnav'>

    <div class="left">

    <?php if ( is_home() ) { ?>

    <li class="current_page_item"><a href="<?php echo get_option('home'); ?>/"><?php _e("Anasayfa", 'themejunkie'); ?></a></li>

    <?php } else { ?>

    <li><a href="<?php echo get_option('home'); ?>/"><?php _e("Anasayfa", 'themejunkie'); ?></a></li>

    <?php } ?>

    <?php wp_list_pages('depth=1&sort_column=menu_order&titl e_li='); ?>

    </div>

    <!--end: left-->

    <div class="right">

    <form method="get" id="searchform" action="<?php bloginfo('Anasayfa'); ?>/">

    <div id="search">

    <input class="searchinput" type="text" value="Sağlık Ekseninde ara..." onclick="this.value='';" name="s" id="s" />

    <input type="submit" class="searchsubmit" value="Ara"/>



    </div>

    </form>

    </div>

    <!--end: right-->

    </div>

    </div>

    <!--end: top-->

    <div id="header"> <a href="<?php bloginfo('siteurl'); ?>"> <div class="logo"></div> <!--end: logo-->

    </a>





    <?php if (get_theme_mod('showad468x60') == 'Yes') { ?>

    <div class="ad468x60"><?php echo stripslashes(get_theme_mod('ad468x60')); ?></div>

    <?php } else { ?>

    <?php } ?>

    <!--end: ad468x60-->

    </div>

    <!--end: header-->

    <div id="menu">

    <div class="left">

    <?php wp_list_categories('title_li=&orderby=id'); ?>

    </div>

    <div class="right"> </div>

    <!--end: right-->

    </div>

    <!--end: menu-->

    teşekkür ederim arkadaşım saol