CloudBT CloudBT
  • 19-12-2016, 21:35:13
    #1
    mrb arkadaşlar .htaccess dosya içeriği bunlar var
    Options +FollowSymLinks
    RewriteEngine on
    RewriteCond %{HTTP_HOST} !^pazarilan\.com$ [NC]
    RewriteRule ^(.*)$ http://pazarilan.com/$1 [R=301,L]
    RewriteRule kategori/(.*)/(.*)$ index.php?page=kategori&Id=$1&sayfa=$2 [QSA,NC,L]
    RewriteRule ([0-9]*)-([0-9]*)-(vitrin)-(.*).html$ index.php?page=vitringoruntule&Id=$2&sayfa=$1 [QSA,NC,L]
    RewriteRule ([0-9]*)-([0-9]*)-(fiyat)-(.*).html$ index.php?page=fgoruntule&Id=$2&sayfa=$1 [QSA,NC,L]
    RewriteRule ([0-9]*)-([0-9]*)-(acilacil)-(.*).html$ index.php?page=acilacilgoruntule&Id=$2&sayfa=$1 [QSA,NC,L]
    RewriteRule ([0-9]*)-([0-9]*)-(top100)-(.*).html$ index.php?page=top100&Id=$2&sayfa=$1 [QSA,NC,L]
    RewriteRule ([0-9]*)-([0-9]*)-(son)-(.*)-(.*).html$ index.php?page=son&Id=$2&sayfa=$1&type=$4 [QSA,NC,L]
    RewriteRule ilan/(.*)-([0-9]*)$ index.php?page=ilan&title=$1&id=$2 [QSA,NC,L]
    RewriteRule uye/(.*)-([0-9]*)$ index.php?page=profil&user=$2 [QSA,NC,L]
    RewriteRule ([0-9]*)-magaza(.*).html$ index.php?page=milan&id=$1 [QSA,NC,L]
    RewriteRule haber/tum-haberler/([0-9]*)$ index.php?page=tum-haberler&sayfa=$1 [QSA,NC,L]
    RewriteRule haber/(.*)-([0-9]*)$ index.php?page=haber-oku&Id=$2&baslik=$1 [QSA,NC,L]
    RewriteRule iletisim.html$ index.php?page=iletisim
    RewriteRule acilacililanlari.html$ index.php?page=acilacilgoruntule [QSA,NC,L]
    RewriteRule fiyatidusenler.html$ index.php?page=fgoruntule [QSA,NC,L]
    RewriteRule (.*)-top100.html$ index.php?page=top100&sayfa=$1
    RewriteRule (.*)-son-48saat.html$ index.php?page=son&type=48saat&sayfa=$1
    RewriteRule (.*)-son-1hafta.html$ index.php?page=son&type=1hafta&sayfa=$1
    RewriteRule (.*)-son-1ay.html$ index.php?page=son&type=1ay&sayfa=$1
    RewriteRule vitringoruntule.html$ index.php?page=vitringoruntule [QSA,NC,L]
    RewriteRule kayitli-ilanlarim.html$ index.php?page=kayitli-ilanlarim
    RewriteRule uyekayit.html$ index.php?page=uyeol
    RewriteRule uyeol.html$ index.php?page=uyeok
    RewriteRule uyeduzenlendi.html$ index.php?page=uyeduzenleok
    RewriteRule uyegirisi.html$ index.php?page=giris
    RewriteRule tumkategoriler.html$ index.php?page=tumkategoriler
    RewriteRule giris.html$ index.php?page=uyegirisiok
    RewriteRule ilanekle.html$ index.php?page=ilanekle-cat
    RewriteRule ilankayit.html$ index.php?page=ilanekleok
    RewriteRule magazalar.html$ index.php?page=magazalar [QSA,NC,L]
    RewriteRule guvenlicikis.html$ index.php?page=cikis
    RewriteRule ekle.html$ index.php?page=ilanekle
    RewriteRule ([0-9]*)-duzenle.html$ index.php?page=ilan-duzenle&id=$1 [QSA,NC,L]
    RewriteRule ([0-9]*)-dok.html$ index.php?page=ilan-duzenleok&id=$1 [QSA,NC,L]
    RewriteRule ([0-9]*)-sil.html$ index.php?page=ilan-sil&id=$1 [QSA,NC,L]
    RewriteRule parola-degistir.html$ index.php?page=parola-degistir
    RewriteRule bilgilerim.html$ index.php?page=bilgilerim
    RewriteRule favorilerim.html$ index.php?page=favorilerim
    RewriteRule arama.html$ index.php?page=ara
    RewriteRule detayli-arama.html$ index.php?page=detayli-arama
    RewriteRule ([0-9]*)-([0-9]*)-(arama)-(.*).html$ index.php?page=ara2&Id=$2&sayfa=$1 [QSA,NC,L]
    RewriteRule rss.xml$ rss.php
    RewriteRule projeler.html$ index.php?page=projeler
    RewriteRule proje/(.*)-([0-9]*)$ index.php?page=proje-goruntule&proje=$1&Id=$2
    RewriteRule plan/(.*)-([0-9]*)$ index.php?page=plan-goruntule&plan=$1&Id=$2
    RewriteRule projeler/(.*)-([0-9]*)-([0-9]*)$ index.php?page=proje-kategori&kategori=$1&Id=$2&sub=$3
    RewriteRule minify_css-(.*)$ libs/minify_css.php?files=$1



    Options All -Indexes

    <files .htaccess>
    order allow,deny
    deny from all
    </files>

    fakat web sitesinde
    http://www.pazarilan.com/kategori/vasita/?kat1=53
    http://www.pazarilan.com/kategori/ot...at1=53&kat2=54
    http://www.pazarilan.com/kategori/emlak/?kat1=45
    http://www.pazarilan.com/kategori/ko...at1=45&kat2=46
    sayfa bu şekilde açıyor

    bende
    http://www.pazarilan.com/kategori/vasita/
    http://www.pazarilan.com/kategori/otomobil
    http://www.pazarilan.com/kategori/emlak
    http://www.pazarilan.com/kategori/konut

    açmasını istiyorum yapamadım hangi kodları değişmem lazım ki uzantıyı gizlemesi lazım yardımlarınızı bekliyorum teşekkürler.
  • 16-01-2017, 10:41:04
    #2
    Php kısmında get ile id yi değilde kategori adını çekmen lazım, htaccess ise $ lı kısımları düzenlemen lazım. Scripti aldığın kişiyle görüş ondan yardım iste ***** ise araştırarak öğrenmen lazım.


    iPhone 8 len yollandı..