Comment on 301 Redirect Htaccess by dpi.
Hi this article is very useful. thanks
Please let me know that, can i add “Options -Indexes” with the following code, to prevent directory listing?
Eg:
RewriteEngine On RewriteCond %{HTTP_HOST} !^www.stallion-theme.co.uk$ RewriteRule (.*) http://www.stallion-theme.co.uk/$1 [R=301,L] Options -Indexes
—
Is it right method? Or it affects google crawling and SEO.