http://localhost/GameDukkan/ adresi çalışırken
http://localhost/GameDukkan/tum-oyunlar adresi çalıştığında Not Found Fakat http://localhost/GameDukkan/index.php?/tum-oyunlar adresi çalışmakta RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.gamedukkan\.com
RewriteRule (.*) https://www.gamedukkan.com/$1 [R=301,L]
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]
SetEnv CI_ENV production
<IfModule mod_expires.c>
ExpiresActive On
# Images
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType image/webp "access plus 1 year"
ExpiresByType image/svg+xml "access plus 1 year"
ExpiresByType image/x-icon "access plus 1 year"
# Video
ExpiresByType video/webm "access plus 1 year"
ExpiresByType video/mp4 "access plus 1 year"
ExpiresByType video/mpeg "access plus 1 year"
# Fonts
ExpiresByType font/ttf "access plus 1 year"
ExpiresByType font/otf "access plus 1 year"
ExpiresByType font/woff "access plus 1 year"
ExpiresByType font/woff2 "access plus 1 year"
ExpiresByType application/font-woff "access plus 1 year"
# CSS, JavaScript
ExpiresByType text/css "access plus 1 month"
ExpiresByType text/javascript "access plus 1 month"
ExpiresByType application/javascript "access plus 1 month"
# Others
ExpiresByType application/pdf "access plus 1 month"
ExpiresByType image/vnd.microsoft.icon "access plus 1 year"
</IfModule>
# php -- BEGIN cPanel-generated handler, do not edit
# ea-php72 paketini varsayılan PHP programlama dili olarak ayarlayın.
<IfModule mime_module>
AddHandler application/x-httpd-ea-php72 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
[COLOR=#FBA026][COLOR=#D9DAE9][FONT="Open Sans"][/FONT][/COLOR][/COLOR] Sunucu üzerindeyken çalışan htaccess dosyası bu şekilde fakat localhost üzerine bir türlü uyarlayamadım.