no właśnie nie rozwiązuje, można dzięki temu htaccess poprostu wyświetlić zasób bez index.php ale strona jest dalej dostępna pod dwoma adresami (testowane) z index i bez index,
Cytat
Każdy dodatkowy adres który mapuje Ci na ten sam zasób tworzysz sobie sam, więc nie bardzo wiem w czym problem.
chodzi o to że jak stworze sobie sam zasób to nie powinno być go dostępnego pod innym
edit: pierwszy problem rozwiązuje następujący htaccess:
Kod
<IfModule mod_rewrite.c>
# Enable Rewrite Engine
# ------------------------------
RewriteEngine On
RewriteBase /
# Redirect index.php Requests
# ------------------------------
RewriteCond %{THE_REQUEST} ^GET.*index\.php [NC]
RewriteCond %{THE_REQUEST} !/system/.*
RewriteRule (.*?)index\.php/*(.*) /$1$2 [R=301,L]
# Standard ExpressionEngine Rewrite
# ------------------------------
RewriteCond $1 !\.(css|js|gif|jpe?g|png) [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]
</IfModule>
Jednak dalej zastanawiam się nad drugim problemem odnośnie wilcard