örnek bir link
http://dizifan.net/sen-nas-l-bir-varl-ks-n-ya.html.htaccess İçerigi
Options +FollowSymlinks
IndexIgnore *
<FilesMatch "\.(db|inc|tpl|sql|ini|class|temam|templates_c|tmp|log|err)$">
order allow,deny
</FilesMatch>
RewriteEngine On
RewriteCond %{THE_REQUEST} \?(ref=.*)?\ HTTP [NC]
RewriteRule .? %{REQUEST_URI}? [R=301,L]
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
RewriteCond %{QUERY_STRING} (\"|%22).*(\>|%3E|<|%3C).* [NC]
RewriteRule ^(.*)$ index.php [NC]
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC]
RewriteRule ^(.*)$ index.php [NC]
RewriteCond %{QUERY_STRING} (\;|\'|\"|\%22).*(union|insert|where|select|update|drop|md5|or|and|if).* [NC]
RewriteRule ^(.*)$ index.php [NC]
RewriteRule ^index.html$ index.php [L]
RewriteRule ^arama$ index.php?x=arama [L]
RewriteRule ^rss.php$ index.php?x=rss [L]
RewriteRule ^sitemap.xml$ index.php?x=sitemap [L]
RewriteRule ^iletisim.html$ index.php?x=iletisim [L]
RewriteRule ^reklam.html$ index.php?x=iletisim&konu=Reklam [L]
RewriteRule ^telif.html$ index.php?x=iletisim&konu=Telif+Hakkı+Bildirimi [L]
RewriteRule ^yeniler-([0-9]+).html$ index.php?x=videolar&y=yeni&p=$1 [L]
RewriteRule ^populer-([0-9]+).html$ index.php?x=videolar&y=hit&p=$1 [L]
RewriteRule ^iyiler-([0-9]+).html$ index.php?x=videolar&y=iyi&p=$1 [L]
RewriteRule ^videolar-([0-9]+).html$ index.php?x=videolar&y=hepsi&p=$1 [L]
RewriteRule ^yeniler.html$ index.php?x=videolar&y=yeni&p=1 [L]
RewriteRule ^populer.html$ index.php?x=videolar&y=hit&p=1 [L]
RewriteRule ^iyiler.html$ index.php?x=videolar&y=iyi&p=1 [L]
RewriteRule ^videolar.html$ index.php?x=videolar&y=hepsi&p=1 [L]
RewriteRule ^izle/(.[0-9A-Za-z-]+)/(.[0-9A-Za-z-]+)-([0-9]+).html$ index.php?x=kat&id=$2&p=$3&t=alt&kat=$1
RewriteRule ^izle/(.[0-9A-Za-z-]+)/(.[0-9A-Za-z-]+).html$ index.php?x=kat&id=$2&p=1&t=alt&kat=$1
RewriteRule ^izle/(.[0-9A-Za-z-]+)-([0-9]+).html$ index.php?x=kat&id=$1&p=$2&t=kat
RewriteRule ^izle/(.[0-9A-Za-z-]+).html$ index.php?x=kat&id=$1&p=1&t=kat
RewriteRule ^tr/(.*)-([0-9]+).html$ index.php?x=arama&kelime=$1&p=$2 [L]
RewriteRule ^tr/(.*).html$ index.php?x=arama&kelime=$1 [L]
RewriteRule ^kategori/(.[0-9A-Za-z-]+)/(.[0-9A-Za-z-]+)-([0-9]+).html$ index.php?x=kat&id=$2&p=$3&t=alt&kat=$1
RewriteRule ^kategori/(.[0-9A-Za-z-]+)/(.[0-9A-Za-z-]+).html$ index.php?x=kat&id=$2&p=1&t=alt&kat=$1
RewriteRule ^kategori/(.[0-9A-Za-z-]+)-([0-9]+).html$ index.php?x=kat&id=$1&p=$2&t=kat
RewriteRule ^kategori/(.[0-9A-Za-z-]+).html$ index.php?x=kat&id=$1&p=1&t=kat
RewriteRule ^etiket/(.*)-([0-9]+).html$ index.php?x=arama&kelime=$1&p=$2&tur=etiket [L]
RewriteRule ^etiket/(.*).html$ index.php?x=arama&kelime=$1&tur=etiket [L]
RewriteRule ^([a-zA-Z0-9-]+)kisim-([0-9]+).html$ index.php?x=video&id=$1&part=$2 [L]
RewriteRule ^([a-zA-Z0-9-]+).html$ index.php?x=video&id=$1 [L]
RewriteRule ^([a-zA-Z0-9-]+).html$ [L]
ErrorDocument 404 404.html