I need the result like this... login/index to php/login/index.php
– Chiou-Ting Hung
1 Answers
0
votes
I am not a htaccess expert but I think the error is in your last line.
Try replacing this line of htaccess
RewriteRule /login /php/login $1.php
with this
RewriteRule /login/ /php/login.php
I am guessing that you want to rewrite from /login/ to /php/login.php
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more