RewriteEngine On

ErrorDocument 404 /index.php
	
RewriteRule ^index.html index.php [NC,L]
	
RewriteRule ^index.php index.php [NC,L]
	
RewriteRule ^urunler.html products.php [NC,L]

RewriteRule ^iletisim contact.php [NC,L]

RewriteRule ^insan-kaynaklari.html hr.php [NC,L]

RewriteRule ^search.html search.php [NC,L]


RewriteRule ^photo/(\d+)/(\d+)/(\d+)/(.*)$ timthumb.php?w=$1&h=$2&q=$3&src=$4 [L]
	
RewriteCond %{REQUEST_FILENAME} !-f
	
RewriteCond %{REQUEST_FILENAME} !-d
	
RewriteRule ^(.*)$ pages.php?link=$1 [L,QSA]



	