Wordpress RewriteRule for custom script
Apache ignores the leading slashes in the REQUEST_URI
to match with your rules in .htaccess
, thus rules starts with /
and without RewriteBase
will match nothing.
Try this:
RewriteRule ^lt/wp_import/check_mail.php wp_import/check_mail.php [QSA,L]