Answer the question
In order to leave comments, you need to log in
Why doesn't rewrite rule work in my htaccess?
I have a link:
ipaddr/opensys/base/
ipaddr/opensys/base/something.php?olol=yep
ipaddr/center/base/
ipaddr/center/base/something.php?olol=yep
RewriteEngine on
RewriteRule ^/opensys/base/(.*)$ /center/base/$1 [L]
RedirectMatch 301 ^/opensys/base/(.*)$ /center/base/$1
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question