hello craven ..
i am just a tad bit confused, and this may be a simple question - but is the .htaccess file you talk about the one in the site's root directory? or the one in the forum's root directory? i assume it could be either ...
so, if i edited my .htaccess file in my sites root directory with:
RewriteRule (.*)
http://www.able2know.com/$1 [R=301,L]
i assume that the rewrite would occur for all directories beyond the domain name?
the code or script portion of your post has:
RewriteRule (.*)
http://www.able2know.com/forums/$1 [R=301,L]
with the /forums directory included which threw me off just a bit ...
i have more to my site then the forums so i assume it would be beneficial to implement this rule in my site's root directory .htaccess - is this logical?
also, would this "cover" my forums also?
finally, the contents of my current .htaccess file in my site's root is:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://---.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://---.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.---.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.---.com$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$
http://www.---.com [R,NC]
can i simply add to this by adding your rewrite Cond, or rather your RewriteRule, after the rule that disables hotlinking that is listed here? I assume I can
This is my first time working with htaccess, but I have read a bit about it before and I know its important so I want to make sure I implement your great ideas properly. Actually I've heard that hotlinking maybe even screws up your site with utilities like Norton, etc - so maybe I am better off disabling it. What do you think?
thanks!
zm