1
我的根htaccess的使用這個htaccess的重定向,如果一個特定的文件夾犯規存在
RewriteEngine on
Options +FollowSymLinks
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php?p=%{REQUEST_URI} [L]
這改寫http://example.com/notexistsfolder成功
但我想也重定向http://example.com/user/notexistsfolder到http://example.com/notexistsfolder
什麼代碼應我補充實現這一目標?