How to exclude base url from some rewrite rule in htaccess?
Hi everyone, I have a rewrite rule in my .htaccess file which
RewriteRule ^([a-zA-Z0-9\-\_]+)?$ product.php?product=$1 [NC,L]
When I go to www.domain.com site it applies the above rule and redirects it to product.php and when www.domain.com/index.php works fine. Where am I doing wrong. Thanks to
+3
source to share