又是一个新的 .htaccess 问题

again a new .htaccess issue

我的一个 URL 有这个 /index.php?page=cfeedback&status_id=2&cf_store=8 ... 在应用这个 htaccess 后它只显示 /index.php?page=cfeedback URL。
有什么办法吗?

有些页面也只是 /index.php?page=dashboard.

我的 .htaccess 应该以这种方式支持两者。

/dashboard for URLs /index.php?page=dashboard

/cfeedback/2/8 for URLs /index.php?page=cfeedback&status_id=2&cf_store=8 

这是这个问题的延续:

我的.htaccess code

Options +FollowSymLinks -MultiViews   
RewriteEngine on

# use appropriate rewrite base
RewriteBase /mydir/admin/

RewriteCond %{REQUEST_METHOD} !^(TRACE|TRACK|GET|POST|HEAD)$
RewriteRule ^ - [F]

RewriteCond %{THE_REQUEST} /index\.php\?page=([\w-]+) [NC]
RewriteRule ^ %1?  [L,R]

RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([\w-]+)/?$ index.php?page= [L,QSA]

我尝试为具有 index.php?page=&status_id= 的网址添加以下代码。请让我知道我做错了什么。

RewriteCond %{THE_REQUEST} /index\.php\?page=([\w-]+)&status_id=([\w-]+) [NC] 
RewriteRule ^ %1/%2? [L,R] 
RewriteCond %{REQUEST_FILENAME} !-d 
RewriteRule ^([\w-]+)/([\w-]+)/?$ index.php?page=&status_id= [L,QSA]

我做错了什么?

Options +FollowSymLinks -MultiViews   
RewriteEngine on

# use appropriate rewrite base
RewriteBase /mydir/admin/

RewriteCond %{REQUEST_METHOD} !^(TRACE|TRACK|GET|POST|HEAD)$
RewriteRule ^ - [F]

RewriteCond %{THE_REQUEST} /index\.php\?page=([\w-]+)&status_id=([\w-]+)&cf_store=([\w-]+) [NC]
RewriteRule ^ %1/%2/%3?  [L,R]

RewriteCond %{THE_REQUEST} /index\.php\?page=([\w-]+)&status_id=([\w-]+) [NC]
RewriteRule ^ %1/%2?  [L,R]

RewriteCond %{THE_REQUEST} /index\.php\?page=([\w-]+)\s [NC]
RewriteRule ^ %1?  [L,R]

RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([\w-]+)/([\w-]+)/([\w-]+)/?$ index.php?page=&status_id=&cf_store= [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([\w-]+)/([\w-]+)/?$ index.php?page=&status_id= [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([\w-]+)/?$ index.php?page= [L,QSA]

在之前的规则之前插入新的规则集:

Options +FollowSymLinks -MultiViews   
RewriteEngine on

# use appropriate rewrite base
RewriteBase /mydir/admin/

RewriteCond %{REQUEST_METHOD} (TRACE|TRACK|GET|POST|HEAD)
RewriteRule ^ - [L]

RewriteCond %{THE_REQUEST} /index\.php\?page=([\w-]+)&status_id=([\w-]+)&cf_store=([\w-]+) [NC]
RewriteRule ^ %1/%2/%3?  [L,R]

RewriteCond %{THE_REQUEST} /index\.php\?page=([\w-]+)\s [NC]
RewriteRule ^ %1?  [L,R]

RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([\w-]+)/([\w-]+)/([\w-]+)/?$ index.php?page=&status_id=&cf_store= [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([\w-]+)/?$ index.php?page= [L,QSA]