Seek Apche redirection rules
rewriterule^ (?! Admin|user|inde\.php|config\.php|%{http_host})%{http_host} [R=301.L]
In addition to the home page and admin directory and user directory, as well as index.php and config.php all jump to the homepage ...
------Solution--------------------
Rewriteengine on
Rewritebase/
Rewritecond $!^ (admin\/(. *)
------Solution--------------------
$)
Rewritecond $!^ (user\/(. *)
------Solution--------------------
$)
Rewritecond $!^ (index.php (. *)
------Solution--------------------
$)
Rewritecond $!^ (config.php (. *)
------Solution--------------------
$)
Rewriterule ^ (. *) $ index.php [L,QSA]
------Solution--------------------
Rewriterule ^ (?! Admin (/.*)?
------Solution--------------------
User (/.*)?
------Solution--------------------
config\.php) $ index.php
Is this going to work?
------Solution--------------------
Redirects are used for steering between different domain names, actually done by the browser
Do you redirect to yourself, not to die loops?
Only the path is different, then you can assign it directly.