Hello,
i've 2 domains
domain1.com
domain2.com
domain2.com is a an addon domain on domain1.com
when i directly visit domain2.com mod rewrite doesn't work.
but when i visit domain1.com/domain2 (domain2 is folder of the domain2.com files) mod rewrite works fine.
below is my htaccess file..
if a file ends with -movies.html it runs movies.php
but as i said doesn't work on domain2.com but works at domain1.com/domain2
what should i do to let it work directly in addon domain2.com
thanks in advance
RewriteEngine on
RewriteRule ^(.*)\-movies.html$ movies.php?var=$1