There's so many things that can be done with .htaccess, I'm confused. All I want to do in this instance is redirect http://example.com/* to http://example.com to stop people getting to the hierarchy temporarily.
Currently got:
However, Firefox complains of infinite loops. How can I change it so that it only happens for sub-addresses?
Currently got:
Code:
RewriteEngine On
RewriteRule (.*) http://example.com/$1 [R=301]
However, Firefox complains of infinite loops. How can I change it so that it only happens for sub-addresses?