| Author | Message |
muko
123 posts |
#21980 2008-04-04 10:42 GMT |
|
Arkadaşlar sitede bazı sorunlar var ve bunları çözemedim , Vede Bir Başlık Altında Toplamak İstedim...sizlerden şunlar hakkında yardım isteyecektim; 1) Internet Explorer Sitede Hata Buluyor..Sayfada Hata Mesajını Veriyor (sol alt kısımda) 2) Meta Tag Eklentisine Girdikten Sonra Türkçe Karakter İçeren bi Kelimeye tıkladığımızda ; Örnek Olarak : Dönen Code: Not Acceptable An appropriate representation of the requested resource /p-search__pre-dönen.html could not be found on this server. Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.5 Server at muko.ws Port 80 Hatası Alıyoruz.Fakat Türkçe Karakter İçermeyen Kelimeler Bu Hatayı Vermiyor Direk Arama Sayfasına Gidiyor... 3) Internet Explorer'da Kullanıcı Girişi Yaptıktan Sonra Ortadaki Medium_cb_title.gif resmi uzuyor ve hoş görünmüyor..Sol Taraf İse Küçülüyor.Sorun Ortadakkinin İçerisindeki İçeriğin O Bölüme Sığmaması Diye Düşünüyorum Ama Yanılıyor Olabilirim..
|
|
|
muko.ws
|
|
Aragorn-pc
362 posts |
#21985 2008-04-04 12:35 GMT |
|
rewrite.php dosyasını aç
Code: 'ü' => '', 'ı' => 'e', altına ekle: Code: '!' => '-', '+' => '-', '?' => '-', '/' => '-', '*' => '-', '%' => '-', 'İ' => 'i', 'ı' => 'i', 'ğ' => 'g', 'Ğ' => 'g', 'ş' => 's', 'Ş' => 's', 'ö' => 'o', 'Ö' => 'o', 'Ü' => 'u', 'ü' => 'u', 'ç' => 'c', 'Ç' => 'c', bunlar örnek olarak verdiğim karakterler. ! ? gibi karakter içerdiği zaman browser da % yerine - işareti çıkar buda daha hoş ve sağlam bir seo olmasını sağlar. üst tarafındaki kodlarda türkçe karakter olanları arayın.varsa silin. Xiao'dan Alinti Yaptim..Daha Önce Verilmişti Bu. 3 Sorunun da cevabi Sanırım forumda olacak. Tam ne istedigini Anlamadigim için buraya koymadim |
|
|
KanKayizz.biz | Ldu Sandstorm Skins Artik Seditio da =) Görmek için Tiklayin..http://kankayizz.biz
|
|
muko
123 posts |
#22145 2008-04-05 10:45 GMT |
|
hala olmadı kodlar şu şekilde ; Code: 'À' => 'A', 'Á' => 'A', 'Â' => 'A', 'Ã' => 'A', 'Ä' => 'A', 'Å' => 'A', '¨' => '"', 'Æ' => 'AE', 'Ç' => 'C', 'È' => 'E', 'É' => 'E', 'Ê' => 'E', 'Ë' => 'E', 'Ì' => 'I', 'Í' => 'I', 'Î' => 'I', 'Ï' => 'I', 'Ğ' => 'G', 'Ñ' => 'N', 'Ò' => 'O', 'Ó' => 'O', 'Ô' => 'O', 'Õ' => 'O', 'Ö' => 'O', '×' => 'X', 'Ø' => 'O', 'Ù' => 'U', 'Ú' => 'U', 'Û' => 'U', 'Ü' => 'U', 'İ' => 'I', 'Ş' => 'S', 'ß' => 'B', 'à' => 'a', 'á' => 'a', 'â' => 'a', 'ã' => 'a', 'ä' => 'a', 'å' => 'a', '¸' => '.', 'æ' => 'ae', 'ç' => 'c', 'è' => 'e', 'é' => 'e', 'ê' => 'e', 'ë' => 'e', 'ì' => 'i', 'í' => 'i', 'î' => 'i', 'ï' => 'i', 'ğ' => 'g', 'ñ' => 'n', 'ò' => 'o', 'ó' => 'o', 'ô' => 'o', 'õ' => 'o', 'ö' => 'o', '÷' => 'ch', 'ø' => 'sh', 'ù' => 'u', 'ú' => 'u', 'û' => 'u', 'ü' => 'u', 'ı' => 'i', '!' => '-', '+' => '-', '?' => '-', '/' => '-', '*' => '-', '%' => '-', 'İ' => 'i', 'ı' => 'i', 'ğ' => 'g', 'Ğ' => 'g', 'ş' => 's', 'Ş' => 's', 'ö' => 'o', 'Ö' => 'o', 'Ü' => 'u', 'ü' => 'u', 'ç' => 'c', 'Ç' => 'c', 'ş' => 's', '©' => 'c', 'ÿ' => 'y', Nasıl Halledicez Bu Sorunları :S |
|
|
muko.ws
|
|
muko
123 posts |
#22510 2008-04-07 20:24 GMT |
|
Bilgisi olan yokmu? dvbil nerdesin
|
|
|
muko.ws
|
|
Dvdbil
2,146 posts |
#22513 2008-04-07 20:45 GMT |
|
İlgili eklentinin kodlarını buraya ekle.
|
|
muko
123 posts |
#22517 2008-04-07 22:58 GMT |
|
rewrite.admin.php
Code: <?php /* ==================== Copyright (c) 2007, Vladimir Sibirov. All rights reserved. Distributed under BSD License. [BEGIN_SED] File=plugins/rewrite/rewrite.admin.php Version=121 Updated=2008-jan-11 Type=Plugin Author=Trustmaster Description=Rewrite config generator [END_SED] [BEGIN_SED_EXTPLUGIN] Code=rewrite Part=admin File=rewrite.admin Hooks=tools Tags= Order=10 [END_SED_EXTPLUGIN] ==================== */ if (!defined('SED_CODE')) { die('Wrong URL.'); } $wr = sed_import('wr', 'G', 'INT'); $plugin_title = 'Rewrite .htaccess/IsapiRewrite4.ini/nginx.conf generator'; // Server type detection if(stristr($_SERVER['SERVER_SOFTWARE'], 'apache')) $serv_type = 'apache'; elseif(stristr($_SERVER['SERVER_SOFTWARE'], 'iis')) $serv_type = 'iis'; elseif(stristr($_SERVER['SERVER_SOFTWARE'], 'nginx')) $serv_type = 'nginx'; else $serv_type = 'unknown'; // Server-specific data switch($serv_type) { case 'apache': $prompt = 'Here is your .htaccess:'; $hta_prefix = <<<END # Rewrite engine options Options FollowSymLinks -Indexes RewriteEngine On # Server-relative path to seditio: RewriteBase $site_uri END; $hta_flags = '[NC,NE,L]'; $hta_rule = 'RewriteRule'; $hta_postfix = ''; $rb = '^'; $re = ''; $loc = ''; $hta_error = 'ErrorDocument'; break; case 'iis': $prompt = 'Here is your IsapiRewrite4.ini:'; $hta_prefix = ''; $hta_flags = '[I,L]'; $hta_rule = 'RewriteRule'; $hta_postfix = ''; $rb = '^/'; $re = ''; $loc = '/'; break; case 'nginx': $prompt = 'Here is your nginx.conf:'; $loc = $site_uri; if($site_uri[0] != '/') $loc = '/'.$loc; if($site_uri[strlen($site_uri) - 1] != '/') $loc .= '/'; $hta_prefix = ''; $hta_flags = 'last;'; $hta_rule = 'rewrite'; $rb = '"^'.$loc; $re = '"'; $hta_error = 'error_page'; break; } if($serv_type == 'unknown') { $plugin_body = "Sorry, but {$_SERVER['SERVER_SOFTWARE']} server is not supported."; } else { $sep = preg_quote($cfg['plugin']['rewrite']['sep']); $rsep = $cfg['plugin']['rewrite']['sep']; $esep = preg_quote($cfg['plugin']['rewrite']['sep'][0]); $psep = preg_quote($cfg['plugin']['rewrite']['psep']); $rpsep = $cfg['plugin']['rewrite']['psep']; $suffix = preg_quote($cfg['plugin']['rewrite']['suffix']); $plugin_body .= "$prompt<hr /><pre>"; $hta = <<<END $hta_prefix # Engine Shortcuts $hta_rule {$rb}user{$sep}(.+){$suffix}(#.*)?\${$re} {$loc}users.php?rwr=m{$rpsep}details{$rsep}ual{$rpsep}\$1\$2 $hta_flags $hta_rule {$rb}c{$psep}(.+){$suffix}(#.*)?\${$re} {$loc}list.php?rwr=c{$rpsep}\$1\$2 $hta_flags $hta_rule {$rb}i{$psep}([0-9]+){$psep}[^{$esep}]+(.*){$suffix}(#.*)?\${$re} {$loc}page.php?rwr=id{$rpsep}\$1\$2\$3 $hta_flags $hta_rule {$rb}i{$psep}(.+){$suffix}(#.*)?\${$re} {$loc}page.php?rwr=id{$rpsep}\$1\$2 $hta_flags $hta_rule {$rb}a{$psep}(.+){$suffix}(#.*)?\${$re} {$loc}page.php?rwr=al{$rpsep}\$1\$2 $hta_flags $hta_rule {$rb}p{$psep}(.+){$suffix}(#.*)?\${$re} {$loc}plug.php?rwr=e{$rpsep}\$1\$2 $hta_flags $hta_rule {$rb}o{$psep}(.+){$suffix}(#.*)?\${$re} {$loc}plug.php?rwr=o{$rpsep}\$1\$2 $hta_flags $hta_rule {$rb}s{$psep}([0-9]+){$psep}[^{$esep}]+(.*){$suffix}(#.*)?\${$re} {$loc}forums.php?rwr=m{$rpsep}topics{$rsep}s{$rpsep}\$1\$2\$3 $hta_flags $hta_rule {$rb}s{$psep}(.+){$suffix}(#.*)?\${$re} {$loc}forums.php?rwr=m{$rpsep}topics{$rsep}s{$rpsep}\$1\$2 $hta_flags $hta_rule {$rb}q{$psep}([0-9]+){$psep}[^{$esep}]+(.*){$suffix}(#.*)?\${$re} {$loc}forums.php?rwr=m{$rpsep}posts{$rsep}q{$rpsep}\$1\$2\$3 $hta_flags $hta_rule {$rb}q{$psep}(.+){$suffix}(#.*)?\${$re} {$loc}forums.php?rwr=m{$rpsep}posts{$rsep}q{$rpsep}\$1\$2 $hta_flags $hta_rule {$rb}t{$psep}([0-9]+){$psep}[^{$esep}]+(.*){$suffix}(#.*)?\${$re} {$loc}forums.php?rwr=m{$rpsep}posts{$rsep}p{$rpsep}\$1\$2\$3 $hta_flags $hta_rule {$rb}t{$psep}(.+){$suffix}(#.*)?\${$re} {$loc}forums.php?rwr=m{$rpsep}posts{$rsep}p{$rpsep}\$1\$2 $hta_flags $hta_rule {$rb}u{$psep}(.*){$suffix}(#.*)?\${$re} {$loc}users.php?rwr=m{$rpsep}details{$rsep}id{$rpsep}\$1\$2 $hta_flags # Main $hta_rule {$rb}({$cfg['plugin']['rewrite']['scripts']}){$sep}(.+){$suffix}(#.*)?\${$re} {$loc}\$1.php?rwr=\$2\$3 $hta_flags $hta_rule {$rb}({$cfg['plugin']['rewrite']['scripts']}){$suffix}(#.*)?\${$re} {$loc}\$1.php\$2 $hta_flags # Fixes $hta_rule {$rb}.+/favicon.ico\${$re} {$loc}favicon.ico $hta_flags END; // Check for error plugin $err_plug = false; for($i = 0; $i < count($sed_plugins); $i++) { if($sed_plugins[$i]['pl_code'] == 'error') { $err_plug = true; break; } } if($err_plug && ($serv_type == 'apache' || $serv_type == 'nginx')) $hta .= <<<END # Error pages $hta_error 400 {$loc}{$site_uri}plug{$rsep}e{$rpsep}error{$rsep}m{$rpsep}400{$cfg['plugin']['rewrite']['suffix']} $hta_error 401 {$loc}{$site_uri}plug{$rsep}e{$rpsep}error{$rsep}m{$rpsep}401{$cfg['plugin']['rewrite']['suffix']} $hta_error 403 {$loc}{$site_uri}plug{$rsep}e{$rpsep}error{$rsep}m{$rpsep}403{$cfg['plugin']['rewrite']['suffix']} $hta_error 404 {$loc}{$site_uri}plug{$rsep}e{$rpsep}error{$rsep}m{$rpsep}404{$cfg['plugin']['rewrite']['suffix']} $hta_error 500 {$loc}{$site_uri}plug{$rsep}e{$rpsep}error{$rsep}m{$rpsep}500{$cfg['plugin']['rewrite']['suffix']} END; $plugin_body .= str_replace('$', '$', htmlspecialchars($hta)); $plugin_body .= '</pre><hr />'; if($serv_type == 'apache' && $wr == 1) { file_put_contents('.htaccess', $hta); $plugin_body .= '<br /><span style="color:green;font-weight:bold">.htaccess written</span><br />'; } elseif($serv_type == 'apache' && is_writable('.htaccess')) $plugin_body .= '<br /><a href="admin.php?m=tools&p=rewrite&wr=1"><strong>Apply new .htaccess on server (replaces if exists)</strong></a><br /><br />'; } ?> rewrite.input.php Code: <?php /* ==================== Copyright (c) 2007, Vladimir Sibirov. All rights reserved. Distributed under BSD License. [BEGIN_SED] File=plugins/rewrite/rewrite.input.php Version=121 Updated=2007-jul-11 Type=Plugin Author=Trustmaster Description=User friendly URLs [END_SED] [BEGIN_SED_EXTPLUGIN] Code=rewrite Part=input File=rewrite.input Hooks=input Tags= Minlevel=0 Order=10 [END_SED_EXTPLUGIN] ==================== */ if ( !defined('SED_CODE') ) { die('Wrong URL.'); } if(isset($_GET['rwr'])) rewrite_input(); ?> rewrite.setup.php Code: <?php /* ==================== Copyright (c) 2007, Vladimir Sibirov. All rights reserved. Distributed under BSD License. [BEGIN_SED] File=plugins/rewrite/rewrite.setup.php Version=121 Updated=2007-jul-29 Type=Plugin Author=Trustmaster Description=User friendly URLs [END_SED] [BEGIN_SED_EXTPLUGIN] Code=rewrite Name=Rewrite Extension Description=User friendly URLs Version=1.0.0 Date=2008-jan-11 Author=Trustmaster Copyright= Notes= SQL= Auth_guests=R Lock_guests=W12345A Auth_members=R Lock_members=W12345A [END_SED_EXTPLUGIN] [BEGIN_SED_EXTPLUGIN_CONFIG] engine_on=01:radio::0:Enable rewrite engine? shortcuts=02:radio::1:Enable shortcuts? extra_seo=03:radio::0:Enable extra SEO? translit=04:radio::0:Transliterate extra SEO titles? output_encoding=05:string::UTF-8:Output charset (e.g. UTF-8 or WINDOWS-1251) users=06:radio::1:Enable user shortcuts (e.g. somesite.com/user/UserName)? sep=07:select:/,--,__,;,&:/:Main separator in the URL (used instead of & and ?) psep=08:select:-,.,_,=:-:Name-value separator in the URL. NOT the same as main separator! suffix=09:string::.html:Page suffix (blank is allowed) scripts=10:string::admin|chat|forums|index|list|message|page|pfs|plug|pm|polls|rss|users|view|captcha:List of scripts to rewrite separated by | (no spaces) ignore=11:string::datas|plugins|skins|system:List of folders containing as-is files (images, etc.) separated by | (no spaces) no_comments=12:radio::0:Strip &comments from urls? no_ratings=13:radio::0:Strip &ratings from urls? [END_SED_EXTPLUGIN_CONFIG] ==================== */ if ( !defined('SED_CODE') ) { die("Wrong URL."); } ?> rewrite.users.php Code: <?php
/* ==================== Copyright (c) 2007, Vladimir Sibirov. All rights reserved. Distributed under BSD License. [BEGIN_SED] File=plugins/rewrite/rewrite.users.php Version=121 Updated=2007-jul-25 Type=Plugin Author=Trustmaster Description=User friendly URLs [END_SED] [BEGIN_SED_EXTPLUGIN] Code=rewrite Part=users File=rewrite.users Hooks=users.details.first Tags= Minlevel=0 Order=10 [END_SED_EXTPLUGIN] ==================== */ if ( !defined('SED_CODE') ) { die('Wrong URL.'); } $ual = sed_import('ual', 'G', 'TXT'); if(!empty($ual)) { $ual = sed_sql_prep($ual); $al_urr = sed_sql_fetchassoc(sed_sql_query("SELECT user_id FROM $db_users WHERE user_name = '$ual' OR user_irc = '$ual' LIMIT 1")); $id = (int) $al_urr['user_id']; $_GET['id'] = $id; } ?> |
|
|
muko.ws
|
> 1 <
Benzer konular (Similar topics) #BETA
| Konular | Mesajlar | Son Yazar | Güncelleme |
| belagio görünümünde üç tane sorun Allah aşkına bir bakın | 12 | By.Herakles | 22 Gün |
| 2 Tane Sorunum Var | 3 | serkan | 287 Gün |
| Kullanıcı Paneli İki Tane | 6 | MADWOLF | 427 Gün |
| Son Forum Konuları 30 tane | 3 | ByYuSuF | 111 Gün |
| 2 tane sorum olcakk? | 5 | Vezir | 220 Gün |





