Hi,
I have a sub-folder called "blog"
http://www.domain.com/blog/
In the "blog", folder I have created a .htaccess as follows:
Code:
RewriteEngine on
RewriteRule ^(.*)$ "http\:\/\/www\.domain\.com" [R=301,L]
But if I try to access
http://www.domain.com/blog/aaa.php, I get a 404 error and the 404.shtml is displayed.
What I need is a redirection if any file under /blog/ is accessed.
Pls advice what am I doing wrong ??
Or is it that 404.shtml is getting higher presidence over .htaccess
Thx in advance.
Regards,
Vai