Anasayfa FORUMLAR Üye Girişi Dosyalar Dersler İpuçları Yardımcı Araçlar Hakkımızda
KİMLER BAĞLI
Toplam Üye: 32638
Aktif Üye: 0
Aktif Ziyaretçi: 843
Üye Adı
Şifre
Beni Hatırla
          Yeni Üye KayıtYeni Üye Kayıt
          Şifremi UnuttumŞifremi Unuttum
FORUMLAR
 Forumda Video Değerleri 5..
(10508 okuma, 9 yanıt)
 Arkadaşlar Bir Ricam Olac..
(5594 okuma, 2 yanıt)
 bbtonuke 2 arşivi 28 adet..
(9430 okuma, 11 yanıt)
 forum mesajlarındaki link..
(3330 okuma, 0 yanıt)
 arcadeV302Turkish Oyun H..
(3337 okuma, 0 yanıt)
 Kategori Başlıkları Anasa..
(7958 okuma, 7 yanıt)
 Yahoo Video Emped Kodu..
(5807 okuma, 4 yanıt)
 Advanced Report Hack (Gel..
(12640 okuma, 18 yanıt)
 Mini Chat Olan Lutfen Pay..
(3744 okuma, 1 yanıt)
 Forumlara Bu mesaj yazarı..
(3922 okuma, 2 yanıt)
 phpBB SEO keyword URLs..
(4209 okuma, 3 yanıt)
 Foruma ChatBox - Sohbet K..
(4703 okuma, 2 yanıt)
Netopsiyon Online: Forums
Netopsiyon Online :: Başlık görüntüleniyor - phpBB SEO keyword URLs
 AramaArama   RütbelerRütbeliler   ProfilProfil   GirişGiriş 


phpBB SEO keyword URLs

 
Bu forum kilitlendi: mesaj gönderemez, cevap yazamaz ya da başlıkları değiştiremezsiniz   Bu başlık kilitlendi: mesajları değiştiremez ya da cevap yazamazsınız    Netopsiyon Online Forum Ana Sayfa -> phpBB 2.x Sürümleri -> Eklentiler
Önceki başlık :: Sonraki başlık  
Yazar Mesaj
oKaN
Mesaj: 500+
Mesaj: 500+





Kayıt: Dec 28, 2004
Mesajlar: 830
Konum: dunno

MesajTarih: 2009-02-06, 23:34:03    Mesaj konusu: phpBB SEO keyword URLs Alıntıyla Cevap Gönder

Merhabalar Arkadaslar
Siteye "phpBB SEO keyword URLs" Kurmak istiyorum fakat Orada

Kod:
#
#-----[ OPEN ]------------------------------------------
#

.htaccess

#
#-----[ ADD  ]------------------------------------------
#

RewriteEngine On
#this may cause issues with subdirs and so I have not enabled it.
RewriteBase /

RewriteRule [.]*-vf([0-9]*) viewforum.php?%{QUERY_STRING}&f=$1
RewriteRule [.]*-vp([0-9]*) viewtopic.php?%{QUERY_STRING}&p=$1
RewriteRule [.]*-vt([0-9]*) viewtopic.php?%{QUERY_STRING}&t=$1
RewriteRule [.]*-vc([0-9]*) index.php?%{QUERY_STRING}&c=$1
RewriteRule [.]*-ac([0-9]*) album_cat.php?%{QUERY_STRING}&cat_id=$1
RewriteRule [.]*-at([0-9]*) album_thumbnail.php?%{QUERY_STRING}&pic_id=$1
RewriteRule [.]*-apic([0-9]*) album_pic.php?%{QUERY_STRING}&pic_id=$1
RewriteRule [.]*-apm([0-9]*) album_picm.php?%{QUERY_STRING}&pic_id=$1
RewriteRule [.]*-full-asp([0-9]*) album_showpage.php?full=&pic_id=$1
RewriteRule [.]*-asp([0-9]*) album_showpage.php?%{QUERY_STRING}&pic_id=$1
RewriteRule [.]*-aper([0-9]*) album_personal.php?%{QUERY_STRING}&user_id=$1
RewriteRule [.]*-dc([0-9]*) dload.php?%{QUERY_STRING}action=category&cat_id=$1
RewriteRule [.]*-df([0-9]*) dload.php?%{QUERY_STRING}action=file&file_id=$1
RewriteRule [.]*-kbc([0-9]*) kb.php?%{QUERY_STRING}mode=cat&cat=$1
RewriteRule [.]*-kba([0-9]*) kb.php?%{QUERY_STRING}mode=article&k=$1
RewriteRule [.]*-kbsmp kb.php?mode=stats&stats=mostpopular
RewriteRule [.]*-kbstr kb.php?mode=stats&stats=toprated
RewriteRule [.]*-kbsl kb.php?mode=stats&stats=latest
RewriteRule [.]*-pbc([0-9]*) kb.php?%{QUERY_STRING}mode=cat&cat=$1
RewriteRule [.]*-pa([0-9]*) kb.php?%{QUERY_STRING}mode=article&k=$1
RewriteRule [.]*-psmp kb.php?mode=stats&stats=mostpopular
RewriteRule [.]*-pstr kb.php?mode=stats&stats=toprated
RewriteRule [.]*-pbsl kb.php?mode=stats&stats=latest

#
#-----[ OPEN ]------------------------------------------
#

includes/page_header.php

#
#-----[ FIND ]------------------------------------------
#

//
// gzip_compression
//
$do_gzip_compress = FALSE;
if($board_config['gzip_compress'])
{
   $phpver = phpversion();

   if($phpver >= "4.0.4pl1")
      {
         if(extension_loaded("zlib"))
      {
   if (headers_sent() != TRUE)
      {
         $gz_possible = isset($HTTP_SERVER_VARS["HTTP_ACCEPT_ENCODING"]) && eregi("gzip, deflate",$HTTP_SERVER_VARS["HTTP_ACCEPT_ENCODING"]);
         if ($gz_possible) ob_start("ob_gzhandler");
      }
   }
      }
         else if($phpver > "4.0")
      {
         if(strstr($HTTP_SERVER_VARS['HTTP_ACCEPT_ENCODING'], 'gzip'))
         {
            if(extension_loaded("zlib"))
         {
            $do_gzip_compress = TRUE;
            ob_start();
            ob_implicit_flush(0);

            header("Content-Encoding: gzip");
         }
      }
   }
}

#
#-----[ REPLACE, WITH  ]------------------------------------------
#

//-- [+] MOD: phpBB SEO keyword URLs -------------------------------------
//-- replace
//
/*
//
// gzip_compression
//
$do_gzip_compress = FALSE;
if($board_config['gzip_compress'])
{
   $phpver = phpversion();

   if($phpver >= "4.0.4pl1")
      {
         if(extension_loaded("zlib"))
      {
   if (headers_sent() != TRUE)
      {
         $gz_possible = isset($HTTP_SERVER_VARS["HTTP_ACCEPT_ENCODING"]) && eregi("gzip, deflate",$HTTP_SERVER_VARS["HTTP_ACCEPT_ENCODING"]);
         if ($gz_possible) ob_start("ob_gzhandler");
      }
   }
      }
         else if($phpver > "4.0")
      {
         if(strstr($HTTP_SERVER_VARS['HTTP_ACCEPT_ENCODING'], 'gzip'))
         {
            if(extension_loaded("zlib"))
         {
            $do_gzip_compress = TRUE;
            ob_start();
            ob_implicit_flush(0);

            header("Content-Encoding: gzip");
         }
      }
   }
}
*/
//
//while (@ob_end_flush());
ob_start();


function make_url_friendly($url)
{
   $url = trim($url);
   $url = strtolower($url);

   $find = array('<b>', '</b>');
   $url = str_replace ($find, '', $url);

   $url = preg_replace('/</0>/', 'image', $url);

   $find = array(' ', '&quot;', '&amp;', '&', '\r\n', '\n', '/', '\\', '+', '<', '>');
   $url = str_replace ($find, '-', $url);

   $find = array('é', 'è', 'ë', 'ê', 'É', 'È', 'Ë', 'Ê');
   $url = str_replace ($find, 'e', $url);

   $find = array('í', 'ı', 'ì', 'î', 'ï', 'I', 'İ', 'Í', 'Ì', 'Î', 'Ï');
   $url = str_replace ($find, 'i', $url);

   $find = array('ó', 'ö', 'Ö', 'ò', 'ô', 'Ó', 'Ò', 'Ô');
   $url = str_replace ($find, 'o', $url);

   $find = array('á', 'ä', 'â', 'à', 'â', 'Ä', 'Â', 'Á', 'À', 'Â');
   $url = str_replace ($find, 'a', $url);

   $find = array('ú', 'ü', 'Ü', 'ù', 'û', 'Ú', 'Ù', 'Û');
   $url = str_replace ($find, 'u', $url);

   $find = array('ç', 'Ç');
   $url = str_replace ($find, 'c', $url);

   $find = array('ş', 'Ş');
   $url = str_replace ($find, 's', $url);

   $find = array('ğ', 'Ğ');
   $url = str_replace ($find, 'g', $url);

   $find = array('/[^a-z0-9\-<>]/', '/[\-]+/', '/<[^>]*>/');

   $repl = array('', '-', '');

   $url = preg_replace ($find, $repl, $url);
   $url = str_replace ('--', '-', $url);

   return $url;
}

function rewrite_urls($content)
{

   function if_query($amp)
   {

      if($amp != '')
      {
         return '?';
      }

   }

        $url_in = array('/(?</41>]+>)(.*?)</a>/e',
                        '/(?</41>]+>)(.*?)</a>/e',
                        '/(?</41>]+>)(.*?)</a>/e',
                        '/(?</41>]+>)(.*?)</a>/e',

//-- [+] ALEXIS ---------------------------------------------------------
//-- add
//
                        '/(?</41>]+>)(.*?)</a>/e',
//
//-- [-] ALEXIS ---------------------------------------------------------

                        '/(?</41>]+>)(.*?)</a>/e',
                        '/(?</41>]+>)(.*?)</a>/e',
                        '/(?</41>]+>)(.*?)</a>/e',
                        '/(?</41>]+>)(.*?)</a>/e',
                        //'/(?</41>]+>)(<img .*?)</a>/e',
                        '/(?</41>]+>)(.*?)</a>/e',
                        '/(?</41>]+>)(.*?)</a>/e',
                        '/(?</41>]+>)(.*?)</a>/e',
                        '/(?</41>]+>)(.*?)</a>/e',
                        '/(?</41>]+>)(.*?)</a>/e',
                        '/(?</41>]+>)(.*?)</a>/e',
                        '/(?</41>]+>)(.*?)</a>/e',
                        '/(?</41>]+>)(.*?)</a>/e',
                        '/(?</41>]+>)(.*?)</a>/e',
                        '/(?</41>]+>)(.*?)</a>/e',
                        '/(?</41>]+>)(.*?)</a>/e',
                        '/(?</41>]+>)(.*?)</a>/e',
                        '/(?</41>]+>)(.*?)</a>/e',
                        '/(?</41>]+>)(.*?)</a>/e',
                        '/(?</41>]+>)(.*?)</a>/e');

        $url_out = array("make_url_friendly('\\6') . '-vf\\1.html' . if_query('\\2') . stripslashes('\\5\\6') . '</a>'",
                        "make_url_friendly('\\6') . '-vf\\1.html' . if_query('\\2') . stripslashes('\\5\\6') . '</a>'",
                        "make_url_friendly('\\6') . '-vp\\1.html' . if_query('\\2') . stripslashes('\\5\\6') . '</a>'",
                        "make_url_friendly('\\6') . '-vt\\1.html' . if_query('\\2') . stripslashes('\\5\\6') . '</a>'",

//-- [+] ALEXIS ---------------------------------------------------------
//-- add
//
                        "make_url_friendly('\\6') . '-vc\\1.html' . if_query('\\2') . stripslashes('\\5\\6') . '</a>'",
//
//-- [-] ALEXIS ---------------------------------------------------------

                        "make_url_friendly('\\6') . '-ac\\1.html' . if_query('\\2') . stripslashes('\\5\\6') . '</a>'",
                        "make_url_friendly('\\6') . '-at\\1.html' . if_query('\\2') . stripslashes('\\5\\6') . '</a>'",
                        "make_url_friendly('\\6') . '-apic\\1.html' . if_query('\\2') . stripslashes('\\5\\6') . '</a>'",
                        "make_url_friendly('\\6') . '-apm\\1.html' . if_query('\\2') . stripslashes('\\5\\6') . '</a>'",
                        //"'show-pic-asp\\1.html' . if_query('\\2') . stripslashes('\\5\\6') . '</a>'",
                        "'image-full-asp\\1.html' . if_query('\\2') . stripslashes('\\5\\6') . '</a>'",
                        "make_url_friendly('\\6') . '-asp\\1.html' . if_query('\\2') . stripslashes('\\5\\6') . '</a>'",
                        "make_url_friendly('\\6') . '-aper\\1.html' . if_query('\\2') . stripslashes('\\5\\6') . '</a>'",
                        "make_url_friendly('\\6') . '-dc\\1.html' . if_query('\\2') . stripslashes('\\5\\6') . '</a>'",
                        "make_url_friendly('\\6') . '-df\\1.html' . if_query('\\2') . stripslashes('\\5\\6') . '</a>'",
                        "make_url_friendly('\\6') . '-kbc\\1.html' . if_query('\\2') . stripslashes('\\5\\6') . '</a>'",
                        "make_url_friendly('\\6') . '-kba\\1.html' . if_query('\\2') . stripslashes('\\5\\6') . '</a>'",
                        "make_url_friendly('\\5') . '-kbsmp.html' . if_query('\\1') . stripslashes('\\4\\5') . '</a>'",
                        "make_url_friendly('\\5') . '-kbstr.html' . if_query('\\1') . stripslashes('\\4\\5') . '</a>'",
                        "make_url_friendly('\\5') . '-kbsl.html' . if_query('\\1') . stripslashes('\\4\\5') . '</a>'",
                        "make_url_friendly('\\6') . '-pc\\1.html' . if_query('\\2') . stripslashes('\\5\\6') . '</a>'",
                        "make_url_friendly('\\6') . '-pa\\1.html' . if_query('\\2') . stripslashes('\\5\\6') . '</a>'",
                        "make_url_friendly('\\5') . '-psmp.html' . if_query('\\1') . stripslashes('\\4\\5') . '</a>'",
                        "make_url_friendly('\\5') . '-pstr.html' . if_query('\\1') . stripslashes('\\4\\5') . '</a>'",
                        "make_url_friendly('\\5') . '-psl.html' . if_query('\\1') . stripslashes('\\4\\5') . '</a>'");

   $content = preg_replace($url_in, $url_out, $content);

   return $content;

}
//
//-- [-] MOD: phpBB SEO keyword URLs -------------------------------------

#
#-----[ OPEN ]------------------------------------------
#

includes/page_tail.php

#
#-----[ FIND ]------------------------------------------
#

if ( $do_gzip_compress )
{
   //
   // Borrowed from php.net!
   //
   $gzip_contents = ob_get_contents();
   ob_end_clean();

   $gzip_size = strlen($gzip_contents);
   $gzip_crc = crc32($gzip_contents);

   $gzip_contents = gzcompress($gzip_contents, 9);
   $gzip_contents = substr($gzip_contents, 0, strlen($gzip_contents) - 4);

   echo "\x1f\x8b\x08\x00\x00\x00\x00\x00";
   echo $gzip_contents;
   echo pack('V', $gzip_crc);
   echo pack('V', $gzip_size);
}

#
#-----[ REPLACE, WITH  ]------------------------------------------
#

//-- [+] MOD: phpBB SEO keyword URLs -------------------------------------
//-- replace
//
/*
if ( $do_gzip_compress )
{
   //
   // Borrowed from php.net!
   //
   $gzip_contents = ob_get_contents();
   ob_end_clean();

   $gzip_size = strlen($gzip_contents);
   $gzip_crc = crc32($gzip_contents);

   $gzip_contents = gzcompress($gzip_contents, 9);
   $gzip_contents = substr($gzip_contents, 0, strlen($gzip_contents) - 4);

   echo "\x1f\x8b\x08\x00\x00\x00\x00\x00";
   echo $gzip_contents;
   echo pack('V', $gzip_crc);
   echo pack('V', $gzip_size);
}
*/
//
if( function_exists(ob_gzhandler) && $board_config['gzip_compress'] == 1)
{
   $gzip_contents = rewrite_urls(ob_get_contents());
   ob_end_clean();
   ob_start('ob_gzhandler');
   echo $gzip_contents;
   ob_end_flush();
}
else
{
   $contents = rewrite_urls(ob_get_contents());
   ob_end_clean();
   echo $contents;
   global $dbg_starttime;
}
//
//-- [-] MOD: phpBB SEO keyword URLs -------------------------------------


#END





yapilmasi gerekenler böylemiş fakat ben yaptigim zaman forum'da Jaca Script hatasi oluşuyor ve hic bir sayfa acilmiyor.

Ayrica Page_tail.php 'dede verdigi kodlari bulamiyorum

bir bilgisi olan varmi bunun ile ilgili ?
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder E-posta gönder Yazarın web sitesini ziyaret et MSN Messenger
Bu Site Google Adsense ile Gelir Elde Ediyor









Tarih: 2024-04-25, 05:54:29    Mesaj konusu: Forum Arası Reklamlar


Başa dön
polibo06
Site Yöneticisi
Site Yöneticisi





Kayıt: Nov 01, 2006
Mesajlar: 2412
Konum: izmirimi özledim

MesajTarih: 2009-02-06, 23:40:03    Mesaj konusu: Alıntıyla Cevap Gönder

nuke mi kullanıyorsun phpbb mi? phpbb ise sürümü kaç?
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
oKaN
Mesaj: 500+
Mesaj: 500+





Kayıt: Dec 28, 2004
Mesajlar: 830
Konum: dunno

MesajTarih: 2009-02-06, 23:44:23    Mesaj konusu: Alıntıyla Cevap Gönder

php nuke kullanıyorum
phpbb sürümü 2.0.21
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder E-posta gönder Yazarın web sitesini ziyaret et MSN Messenger
oKaN
Mesaj: 500+
Mesaj: 500+





Kayıt: Dec 28, 2004
Mesajlar: 830
Konum: dunno

MesajTarih: 2009-02-06, 23:45:01    Mesaj konusu: Alıntıyla Cevap Gönder

daha once Seo Kurmuştum ondan olabilirmi ?
yani bunlarin çakışma vs. gibi şeyleri mi var ?
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder E-posta gönder Yazarın web sitesini ziyaret et MSN Messenger
Önceki mesajları göster:   
Bu forum kilitlendi: mesaj gönderemez, cevap yazamaz ya da başlıkları değiştiremezsiniz   Bu başlık kilitlendi: mesajları değiştiremez ya da cevap yazamazsınız    Netopsiyon Online Forum Ana Sayfa -> phpBB 2.x Sürümleri -> Eklentiler Tüm zamanlar GMT + 3 Saat
1. sayfa (Toplam 1 sayfa)

 
Geçiş Yap:  
Bu forumda yeni başlıklar açamazsınız
Bu forumdaki başlıklara cevap veremezsiniz
Bu forumdaki mesajlarınızı değiştiremezsiniz
Bu forumdaki mesajlarınızı silemezsiniz
Bu forumdaki anketlerde oy kullanamazsınız

Benzer Konular

Başlık Yazar Forum Cevaplar Tarih
Yeni mesaj yok Php-Nuke'ye Phpbb forum yerine aynı v... gencler37 Php Nuke Sorunlarınız 6 2010-05-16, 02:13:00 Son Mesajı Görüntüle
Yeni mesaj yok mrb Gardaslarim phpbb 2 Forum Icin tu... roman2009 Php Nuke Blocklar 6 2010-04-28, 20:36:06 Son Mesajı Görüntüle
Yeni mesaj yok En Gelısmıs Phpbb Sürümü Nukenin Hang... cuneytsonmez NukeBB Eklentileri 5 2010-04-19, 00:15:38 Son Mesajı Görüntüle
Yeni mesaj yok phpbb radnom tags sistemi mehaga Php Nuke Modülleri 1 2010-04-06, 23:32:08 Son Mesajı Görüntüle
Yeni mesaj yok phpbb block spakme Eklentiler 3 2010-03-26, 01:50:09 Son Mesajı Görüntüle

Copyright © 2002-2024 Netopsiyon Bilişim Teknolojileri San. Tic. Ltd.Şti. - Bütün hakları saklıdır!
Bu site Netopsiyon.com.tr Sunucularında Barındırılmaktadır.
Netopsiyon Bilişim Teknolojileri San. Tic. Ltd.Şti. Netopsiyon Copyright