This is my htaccess file , on Apache server
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^login.php https://google.com
, the login.php is at the root folder, the above script work, but the following does not redirect
RewriteRule /login https://google.com
RewriteRule /test https://google.com
How to apply the rules when the file / path is not exist? Thank you
for more detail: I found that
RewriteRule ^product_list.php google.com [L] works
but
RewriteRule ^product_list google.com [L] not works
it seems not matching the rule, are there any settings to allow without .php first? Thank you