bnm htaccess:

bnm htaccess:
Alıntı
# htaccess file for zenphoto
# NOTE: Change the RewriteBase below to the absolute path to your zenphoto directory.

<IfModule mod_rewrite.c>
RewriteEngine On

#### !!! Change this to the web path (eg: http://www.example.com/photos --> /photos) !!!
RewriteBase /resimler
####

RewriteRule ^admin/?$ zen/admin.php [R,L]

RewriteCond %{REQUEST_FILENAME} -f [NC,OR]
RewriteCond %{REQUEST_FILENAME} -d [NC]
RewriteRule ^.*$ - [R,L]

RewriteRule index\.php$ index.php [L,QSA]
RewriteRule ^page/([0-9]+)/?$ index.php?page=$1 [L,QSA]
RewriteRule ^page/([A-Za-z0-9\-_]+)/?$ index.php?p=$1 [L,QSA]
RewriteRule ^(.*)/page/([0-9]+)/?$ index.php?album=$1&page=$2 [L,QSA]
RewriteRule ^(.*)/image/(thumb|[0-9]{1,4})/([^/\\]+)$ zen/i.php?a=$1&i=$3&s=$2 [L,QSA]
RewriteRule ^(.*)/image/([^/\\]+)$ zen/i.php?a=$1&i=$2 [L,QSA]

# Catch-all - everything else gets handled in PHP for compatibility.
RewriteRule ^(.*)/?$ index.php?album=$1 [L,QSA]
</IfModule>
yerleştirmm gerekn kod:
Alıntı
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://(\.)?site.com(/)?.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?site.com(/)?.*$ [NC]

RewriteRule .*\.(gif|jpg|jpeg|bmp|zip|avi|rar|mpeg|mpg|wmv|asf |mov|exe|pdf|swf)$ http://www.site.com/ [R,NC]

nasıl siteyi bozmadan koyabilirm?