1 sayfadan 1. sayfa

.htaccess Dosyasını Nasıl Düzenlemeliyim

İletiTarih: 31.08.2007, 00:02
RoyaLTurK
Kod: Tümünü seç
<Files "config.php">
Order Allow,Deny
Deny from All
</Files>

<Files "common.php">
Order Allow,Deny
Deny from All
</Files>


Kod: Tümünü seç
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


Kod: Tümünü seç
RewriteRule ^urllist.txt urllist.php [NC]


Kod: Tümünü seç
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^sitemap_index.xml sitemap_index.php [NC]
RewriteRule ^sitemap_forums.xml sitemap_forums.php [NC]
RewriteRule ^sitemap_topics.xml sitemap_topics.php [NC]
RewriteRule ^sitemap_posts.xml sitemap_posts.php [NC]


Kod: Tümünü seç
RewriteEngine On
RewriteRule [.]*-pdaf([0-9]*) viewforum_p.php?%{QUERY_STRING}&f=$1
RewriteRule [.]*-pdap([0-9]*) viewtopic_p.php?%{QUERY_STRING}&p=$1
RewriteRule [.]*-pdat([0-9]*) viewtopic_p.php?%{QUERY_STRING}&t=$1
RewriteRule [.]*-pdac([0-9]*) index_p.php?%{QUERY_STRING}&c=$1



Yukarıdaki Kodları .htaccess Dosyasına Hangi Düzen İle Koymalıyım...

Re: .htaccess Dosyasını Nasıl Düzenlemeliyim

İletiTarih: 14.09.2007, 18:13
RoyaLTurK
-güncel-

Lütfen Yardımcı Olur Musunuz ?