- Joined
- Oct 8, 2009
- Messages
- 96
- Reaction score
- 0
I have just bought a website with content. Let say the domain is abc.net with subdomain forum.abc.net.
the condition is such that www.forum.abc.net has PR 7, whereas forum.abc.net has PR N/A because of 301 redirection to the www page.
My problem is that when i did some update, i accidentally delete the redirection codes from .htaccess file. I read some articles and have tried the following to redirect the non-www subdomain to www again:
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^forum.abc.net [NC]
RewriteRule ^(.*)$ http://www.forum.abc.net/$1 [L,R=301]
When i test run the redirection by keying in "forum.abc.net", the browser prompts me an error of infinite looping for the redirection. Can any help me solve the problem?
the condition is such that www.forum.abc.net has PR 7, whereas forum.abc.net has PR N/A because of 301 redirection to the www page.
My problem is that when i did some update, i accidentally delete the redirection codes from .htaccess file. I read some articles and have tried the following to redirect the non-www subdomain to www again:
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^forum.abc.net [NC]
RewriteRule ^(.*)$ http://www.forum.abc.net/$1 [L,R=301]
When i test run the redirection by keying in "forum.abc.net", the browser prompts me an error of infinite looping for the redirection. Can any help me solve the problem?