RewriteEngine On RewriteRule ^index.html$ /index.php [L,NC] RewriteBase / ##TÜRKÇE RewriteRule ^hakkimizda.html$ /index.php?pg=hkkmzd [L,NC] RewriteRule ^iletisim.html$ /index.php?pg=iltsm [L,NC] RewriteRule ^haberler.html$ /index.php?pg=hbrlst [L,NC] RewriteRule ^hakkimizda.html$ /index.php?pg=hkkmzd [L,NC] RewriteRule ^urunliste-([a-zA-Z0-9_-]+)-([0-9]+).html$ /index.php?pg=urnlr&id=$2 [L] RewriteRule ^urundetay-resim-([a-zA-Z0-9_-]+)-([0-9]+).html$ /index.php?pg=urd&id=$2 [L] RewriteRule ^urundetay-video-([a-zA-Z0-9_-]+)-([0-9]+).html$ /index.php?pg=uvd&id=$2 [L] RewriteRule ^urundetay-aciklama-([a-zA-Z0-9_-]+)-([0-9]+).html$ /index.php?pg=uyd&id=$2 [L] RewriteRule ^haber-detay-([a-zA-Z0-9_-]+)-([0-9]+).html$ /index.php?pg=hbrdty&id=$2 [L] ##!!!! ##Çokludil RewriteRule ^about.html$ /index.php?pg=hkkmzd [L,NC] RewriteRule ^contact.html$ /index.php?pg=iltsm [L,NC] RewriteRule ^news.html$ /index.php?pg=hbrlst [L,NC] RewriteRule ^productlist-([a-zA-Z0-9_-]+)-([0-9]+).html$ /index.php?pg=urnlr&id=$2 [L] RewriteRule ^productdetails-pictures-([a-zA-Z0-9_-]+)-([0-9]+).html$ /index.php?pg=urd&id=$2 [L] RewriteRule ^productdetails-video-([a-zA-Z0-9_-]+)-([0-9]+).html$ /index.php?pg=uvd&id=$2 [L] RewriteRule ^productdetails-details-([a-zA-Z0-9_-]+)-([0-9]+).html$ /index.php?pg=uyd&id=$2 [L] RewriteRule ^new-details-([a-zA-Z0-9_-]+)-([0-9]+).html$ /index.php?pg=hbrdty&id=$2 [L] ##!!!! SetOutputFilter DEFLATE ErrorDocument 404 /include/404.php Options All -Indexes <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/jpg "access plus 1 year" ExpiresByType image/jpeg "access plus 1 year" ExpiresByType image/gif "access plus 1 year" ExpiresByType image/png "access plus 1 year" ExpiresByType text/css "access plus 1 month" ExpiresByType application/pdf "access plus 1 month" ExpiresByType text/x-javascript "access plus 1 month" ExpiresByType application/x-shockwave-flash "access plus 1 month" ExpiresByType image/x-icon "access plus 1 year" ExpiresDefault "access plus 2 days" </IfModule> <ifModule mod_headers.c> Header set Connection keep-alive </ifModule> order allow,deny allow from all <Files 403.shtml> order allow,deny allow from all </Files> #php_value memory_limit 120M
htaccess webconfig dosyasına çevirme
0
●313
- 16-03-2017, 09:28:21böyle bir htaccess kodu var bunu webconfig e nasıl çevirebilirim ya da çevirebilen biri yardım edebilir mi? iss ile çevirme var nette bende windows server yok.