htaccess dosyası ile seo uygunluğu yapımı.
<IfModule mod_php5.c>
php_value upload_max_filesize 100000000
php_value post_max_size 110000000
php_value memory_limit 120000000
php_value max_input_time 20
</IfModule>
<ifmodule mod_expires.c>
<filesmatch "\.(jpg|gif|png|css|js)$">
ExpiresActive on
ExpiresDefault "access plus 1 week"
</filesmatch>
</ifmodule>
#SetOutputFilter DEFLATE
#Header append Cache-Control "public"
RewriteEngine On
RewriteRule ^([a-z0-9\-]+)/?$ index.php?p=$1 [NC,L]
RewriteRule ^([a-z0-9\-]+)/([a-z0-9\-]+)/?$ index.php?p=$1&id=$2 [NC,L]
RewriteRule ^([a-z0-9\-]+)/([0-9]+)-([a-zA-Z0-9_-]+)/?$ index.php?p=$1&id=$2 [NC,L]
RewriteRule ^([a-z0-9\-]+)/([a-z0-9\-]+)/([a-z0-9\-]+)/?$ index.php?p=$1&id=$2&liste=$3 [NC,L]
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule (.*) 404.php?page=$1 [QSA,L]
#hiç bir yönlendirmeye girmemişse, script dosyası bulunmadıysa yönlendirme yapar.
#RewriteCond %{SCRIPT_FILENAME} !-f
#RewriteCond %{SCRIPT_FILENAME} !-d
# RewriteRule ^ /404.php [L,R=301]