.htaccess - Too many redirects
- by Knocks X
I am getting a "too many redirects" error from the following two .htaccess files.
.htaccess on domain 1
Redirect 301 / http://www.domain2.com/
.htaccess on domain 2
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule (.*) http://www.%{HTTP_HOST}/$1 [L,R]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* /forum/ [L,R]
RedirectMatch permanent ^/$ /forum/
# Options +FollowSymlinks
RewriteCond %{HTTP_REFERER} badsite1\.com [NC,OR]
RewriteCond %{HTTP_REFERER} badsite2\.com [NC]
RewriteRule .* - [F]
Anyone know the reason for the too many redirects error?