-
Notifications
You must be signed in to change notification settings - Fork 0
/
.htaccess
34 lines (25 loc) · 1.46 KB
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Options +FollowSymLinks
RewriteEngine On
# RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
# RewriteRule ^(.*)$ $1.php
RewriteRule ^([a-zA-Z0-9_-]+)\/?$ $1.php [NC]
RewriteRule category/([a-zA-Z0-9_-]+)$ category-d.php?url=$1 [L,QSA]
RewriteRule proje/([a-zA-Z0-9_-]+)$ proje-detay.php?url=$1 [L,QSA]
RewriteRule haber/([a-zA-Z0-9_-]+)$ haber-detay.php?url=$1 [L,QSA]
RewriteRule urun/([a-zA-Z0-9_-]+)$ urun-detay.php?url=$1 [L,QSA]
RewriteRule ^([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)-p-([a-zA-Z0-9_-]+)$ /pages.php?q1=$1&q2=$2&q3=$3 [L,QSA]
RewriteRule ^([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)-c-([a-zA-Z0-9_-]+)$ kategoriler.php?catname=$1&catname2=$2&catname3=$3 [L,QSA]
RewriteRule kategori/([a-zA-Z0-9_-]+)$ urun-kategori.php?url=$1 [L,QSA]
RewriteRule ^index$ index.php [L,QSA]
RewriteRule news-detail/([a-zA-Z0-9_-]+)$ news-d.php?url=$1 [L,QSA]
RewriteRule gallery-detail/([a-zA-Z0-9_-]+)$ gallery-d.php?url=$1 [L,QSA]
RewriteRule hizmet/([a-zA-Z0-9_-]+)$ hizmet-detay.php?url=$1 [L,QSA]
RewriteRule basin/([a-zA-Z0-9_-]+)$ basinda-detay.php?url=$1 [L,QSA]
RewriteRule tedavi/([a-zA-Z0-9_-]+)$ tedavi-detay.php?url=$1 [L,QSA]
RewriteRule hastalik/([a-zA-Z0-9_-]+)$ hastaliklar-detay.php?url=$1 [L,QSA]
RewriteRule kurumsal/([a-zA-Z0-9_-]+)$ kurumsal2.php?url=$1 [L,QSA]
RewriteRule ^sitemapAraclar\.xml$ sitemapAraclar.php [L]
RewriteRule ^sitemap\.xml$ sitemap.php [L]
ErrorDocument 404 https://www.3fpu.com/404.php