ユーザーが /prefiltered/ と入力したときに /index.php?events/ の内容を確認できるようにしたい。だから、彼らのブラウザに /index.php?events/ を表示させたくありません。リマッピングと呼ばれるものだと思います。
私は CodeIgniter を使用しており、ローカルで作業しています。はい、Apache サーバーで mod_rewrite を有効にしました。
私はこれを試していますが、肯定的な結果はありません:
# CodeIngniter Configuration
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?/$1 [L]
# What I want to get to work
RewriteEngine On
RewriteRule ^prefiltered/? /index.php?events/ [NC,L]
前もって感謝します。