0

URL に大きな問題があります。index.php フォームの URL を削除する方法は知っていますが、問題はその "?act=" を URL から削除する方法がわからないことです。

私のリンクはhttp: //localhost/doctrine/public/?act=testになり、 http: //localhost/doctrine/public/test のように作成したいと思います。

パブリックフォルダーに配置された現在の.htaccess ファイル:

<IfModule mod_rewrite.c>
        RewriteEngine On

        # Removes index.php from ExpressionEngine URLs
        RewriteCond $1 !\.(gif|jpe?g|png)$ [NC]
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteRule ^(.*)$ index.php/$1 [L]

</IfModule>

その方法を教えてください。

4

2 に答える 2