RewriteEngine On
RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^([a-zA-Z0-9_-]+)-kasko-sigortasi$ /arac-kasko/index.php?arac=$1
RewriteRule ^([a-zA-Z0-9_-]+)-kasko-sigortasi/$ /arac-kasko/index.php?arac=$1
location / {
	rewrite "^/([a-zA-Z0-9_-]+)-kasko-sigortasi$" /arac-kasko/index.php?arac=$1;
	rewrite "^/([a-zA-Z0-9_-]+)-kasko-sigortasi/$" /arac-kasko/index.php?arac=$1;
}