.htaccess problem with subdirectory

Hi Friends,I installed a html website in my godaddy hosting and had a .htacess file in the root directory for 3 reasons:

  1. non www to www, 2) .html to .php of index page, 3) to redirect mysite.com/index.php to just mysite.com.

Below is my code for the above 3 issues.:

RewriteEngine On
Redirect 301 /index.htm http://www.mysite.com/index.php

RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www\.mysite\.com [NC]
RewriteRule ^(.*) http://www.mysite.com/$1 [L,R=301]

Options +FollowSymLinks
RewriteCond %{THE_REQUEST} ^./index.php
RewriteRule ^(.
)index.php$ http://www.mysite.com/$1 [R=301,L]

The above is working fine with my main website. The problem started when I installed wordpres blog in a folder called ‘myfolder’ in the root firectory.

Installation works fine but the blog gives error message : the site is not redirecting properly…

from my above code: if I remove the lines in bold and red color, the blog works fine. but if i remove, my www, non www issues does not solve.

some one please guide me what to do…

Thanks in advance.

The code you showed in red is well known, tried and tested and I’m certain it won’t cause looping on it’s own.
What might be going on is that the blog wants to use non-www so they get in a loop adding the www, removing the www, adding the www, etc.
If you have firefox, install HTTP Live Headers to track what GET requests are sent to the server. That should give an indication as to what’s going on :slight_smile:

Hi, Thanks for your reply,
I used live http and got this below response…

[noparse]http://www.businessanalystfaq.com/businessanalystforum[/noparse]

GET /businessanalystforum HTTP/1.1
Host: [noparse]www.businessanalystfaq.com[/noparse]
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Cookie: __utma=251416085.755868663.1287085477.1294290679.1294372129.114; __utmz=251416085.1294000761.111.21.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=business%20analyst; fc=fcVal=5711645800312896919

HTTP/1.1 301 Moved Permanently
Date: Fri, 07 Jan 2011 20:06:10 GMT
Server: Apache
Location: [noparse]http://www.businessanalystfaq.com/businessanalystforum/[/noparse]
Content-Length: 339
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1

[noparse]http://www.businessanalystfaq.com/businessanalystforum/[/noparse]

GET /businessanalystforum/ HTTP/1.1
Host: [noparse]www.businessanalystfaq.com[/noparse]
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Cookie: __utma=251416085.755868663.1287085477.1294290679.1294372129.114; __utmz=251416085.1294000761.111.21.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=business%20analyst; fc=fcVal=5711645800312896919

HTTP/1.1 301 Moved Permanently
Date: Fri, 07 Jan 2011 20:06:10 GMT
Server: Apache
X-Pingback: [noparse]http://businessanalystfaq.com/businessanalystforum/xmlrpc.php[/noparse]
Location: [noparse]http://businessanalystfaq.com/businessanalystforum/[/noparse]
Content-Length: 0
Keep-Alive: timeout=15, max=99
Connection: Keep-Alive
Content-Type: text/html; charset=UTF-8

[noparse]http://businessanalystfaq.com/businessanalystforum/[/noparse]

GET /businessanalystforum/ HTTP/1.1
Host: businessanalystfaq.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Cookie: __utma=251416085.755868663.1287085477.1294290679.1294372129.114; __utmz=251416085.1294000761.111.21.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=business%20analyst; fc=fcVal=5711645800312896919

HTTP/1.1 301 Moved Permanently
Date: Fri, 07 Jan 2011 20:06:10 GMT
Server: Apache
Location: [noparse]http://www.businessanalystfaq.com/businessanalystforum/[/noparse]
Content-Length: 335
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1

[noparse]http://www.businessanalystfaq.com/businessanalystforum/[/noparse]

GET /businessanalystforum/ HTTP/1.1
Host: [noparse]www.businessanalystfaq.com[/noparse]
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Cookie: __utma=251416085.755868663.1287085477.1294290679.1294372129.114; __utmz=251416085.1294000761.111.21.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=business%20analyst; fc=fcVal=5711645800312896919

HTTP/1.1 301 Moved Permanently
Date: Fri, 07 Jan 2011 20:06:10 GMT
Server: Apache
X-Pingback: [noparse]http://businessanalystfaq.com/businessanalystforum/xmlrpc.php[/noparse]
Location: [noparse]http://businessanalystfaq.com/businessanalystforum/[/noparse]
Content-Length: 0
Keep-Alive: timeout=15, max=98
Connection: Keep-Alive
Content-Type: text/html; charset=UTF-8

[noparse]http://businessanalystfaq.com/businessanalystforum/[/noparse]

GET /businessanalystforum/ HTTP/1.1
Host: businessanalystfaq.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Cookie: __utma=251416085.755868663.1287085477.1294290679.1294372129.114; __utmz=251416085.1294000761.111.21.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=business%20analyst; fc=fcVal=5711645800312896919

HTTP/1.1 301 Moved Permanently
Date: Fri, 07 Jan 2011 20:06:11 GMT
Server: Apache
Location: [noparse]http://www.businessanalystfaq.com/businessanalystforum/[/noparse]
Content-Length: 335
Keep-Alive: timeout=15, max=99
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1

[noparse]http://www.businessanalystfaq.com/businessanalystforum/[/noparse]

GET /businessanalystforum/ HTTP/1.1
Host: [noparse]www.businessanalystfaq.com[/noparse]
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Cookie: __utma=251416085.755868663.1287085477.1294290679.1294372129.114; __utmz=251416085.1294000761.111.21.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=business%20analyst; fc=fcVal=5711645800312896919

HTTP/1.1 301 Moved Permanently
Date: Fri, 07 Jan 2011 20:06:11 GMT
Server: Apache
X-Pingback: [noparse]http://businessanalystfaq.com/businessanalystforum/xmlrpc.php[/noparse]
Location: [noparse]http://businessanalystfaq.com/businessanalystforum/[/noparse]
Content-Length: 0
Keep-Alive: timeout=15, max=97
Connection: Keep-Alive
Content-Type: text/html; charset=UTF-8

[noparse]http://businessanalystfaq.com/businessanalystforum/[/noparse]

GET /businessanalystforum/ HTTP/1.1
Host: businessanalystfaq.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Cookie: __utma=251416085.755868663.1287085477.1294290679.1294372129.114; __utmz=251416085.1294000761.111.21.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=business%20analyst; fc=fcVal=5711645800312896919

HTTP/1.1 301 Moved Permanently
Date: Fri, 07 Jan 2011 20:06:11 GMT
Server: Apache
Location: [noparse]http://www.businessanalystfaq.com/businessanalystforum/[/noparse]
Content-Length: 335
Keep-Alive: timeout=15, max=98
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1

[noparse]http://www.businessanalystfaq.com/businessanalystforum/[/noparse]

GET /businessanalystforum/ HTTP/1.1
Host: [noparse]www.businessanalystfaq.com[/noparse]
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Cookie: __utma=251416085.755868663.1287085477.1294290679.1294372129.114; __utmz=251416085.1294000761.111.21.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=business%20analyst; fc=fcVal=5711645800312896919

HTTP/1.1 301 Moved Permanently
Date: Fri, 07 Jan 2011 20:06:11 GMT
Server: Apache
X-Pingback: [noparse]http://businessanalystfaq.com/businessanalystforum/xmlrpc.php[/noparse]
Location: [noparse]http://businessanalystfaq.com/businessanalystforum/[/noparse]
Content-Length: 0
Keep-Alive: timeout=15, max=96
Connection: Keep-Alive
Content-Type: text/html; charset=UTF-8

[noparse]http://businessanalystfaq.com/businessanalystforum/[/noparse]

GET /businessanalystforum/ HTTP/1.1
Host: businessanalystfaq.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Cookie: __utma=251416085.755868663.1287085477.1294290679.1294372129.114; __utmz=251416085.1294000761.111.21.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=business%20analyst; fc=fcVal=5711645800312896919

HTTP/1.1 301 Moved Permanently
Date: Fri, 07 Jan 2011 20:06:11 GMT
Server: Apache
Location: [noparse]http://www.businessanalystfaq.com/businessanalystforum/[/noparse]
Content-Length: 335
Keep-Alive: timeout=15, max=97
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1

[noparse]http://www.businessanalystfaq.com/businessanalystforum/[/noparse]

GET /businessanalystforum/ HTTP/1.1
Host: [noparse]www.businessanalystfaq.com[/noparse]
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Cookie: __utma=251416085.755868663.1287085477.1294290679.1294372129.114; __utmz=251416085.1294000761.111.21.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=business%20analyst; fc=fcVal=5711645800312896919

HTTP/1.1 301 Moved Permanently
Date: Fri, 07 Jan 2011 20:06:12 GMT
Server: Apache
X-Pingback: [noparse]http://businessanalystfaq.com/businessanalystforum/xmlrpc.php[/noparse]
Location: [noparse]http://businessanalystfaq.com/businessanalystforum/[/noparse]
Content-Length: 0
Keep-Alive: timeout=15, max=95
Connection: Keep-Alive
Content-Type: text/html; charset=UTF-8

[noparse]http://businessanalystfaq.com/businessanalystforum/[/noparse]

GET /businessanalystforum/ HTTP/1.1
Host: businessanalystfaq.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Cookie: __utma=251416085.755868663.1287085477.1294290679.1294372129.114; __utmz=251416085.1294000761.111.21.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=business%20analyst; fc=fcVal=5711645800312896919

HTTP/1.1 301 Moved Permanently
Date: Fri, 07 Jan 2011 20:06:12 GMT
Server: Apache
Location: [noparse]http://www.businessanalystfaq.com/businessanalystforum/[/noparse]
Content-Length: 335
Keep-Alive: timeout=15, max=96
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1

[noparse]http://www.businessanalystfaq.com/businessanalystforum/[/noparse]

GET /businessanalystforum/ HTTP/1.1
Host: [noparse]www.businessanalystfaq.com[/noparse]
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Cookie: __utma=251416085.755868663.1287085477.1294290679.1294372129.114; __utmz=251416085.1294000761.111.21.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=business%20analyst; fc=fcVal=5711645800312896919

HTTP/1.1 301 Moved Permanently
Date: Fri, 07 Jan 2011 20:06:12 GMT
Server: Apache
X-Pingback: [noparse]http://businessanalystfaq.com/businessanalystforum/xmlrpc.php[/noparse]
Location: [noparse]http://businessanalystfaq.com/businessanalystforum/[/noparse]
Content-Length: 0
Keep-Alive: timeout=15, max=94
Connection: Keep-Alive
Content-Type: text/html; charset=UTF-8

[noparse]http://businessanalystfaq.com/businessanalystforum/[/noparse]

GET /businessanalystforum/ HTTP/1.1
Host: businessanalystfaq.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Cookie: __utma=251416085.755868663.1287085477.1294290679.1294372129.114; __utmz=251416085.1294000761.111.21.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=business%20analyst; fc=fcVal=5711645800312896919

HTTP/1.1 301 Moved Permanently
Date: Fri, 07 Jan 2011 20:06:12 GMT
Server: Apache
Location: [noparse]http://www.businessanalystfaq.com/businessanalystforum/[/noparse]
Content-Length: 335
Keep-Alive: timeout=15, max=95
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1

[noparse]http://www.businessanalystfaq.com/businessanalystforum/[/noparse]

GET /businessanalystforum/ HTTP/1.1
Host: [noparse]www.businessanalystfaq.com[/noparse]
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Cookie: __utma=251416085.755868663.1287085477.1294290679.1294372129.114; __utmz=251416085.1294000761.111.21.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=business%20analyst; fc=fcVal=5711645800312896919

HTTP/1.1 301 Moved Permanently
Date: Fri, 07 Jan 2011 20:06:12 GMT
Server: Apache
X-Pingback: [noparse]http://businessanalystfaq.com/businessanalystforum/xmlrpc.php[/noparse]
Location: [noparse]http://businessanalystfaq.com/businessanalystforum/[/noparse]
Content-Length: 0
Keep-Alive: timeout=15, max=93
Connection: Keep-Alive
Content-Type: text/html; charset=UTF-8

[noparse]http://businessanalystfaq.com/businessanalystforum/[/noparse]

GET /businessanalystforum/ HTTP/1.1
Host: businessanalystfaq.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Cookie: __utma=251416085.755868663.1287085477.1294290679.1294372129.114; __utmz=251416085.1294000761.111.21.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=business%20analyst; fc=fcVal=5711645800312896919

HTTP/1.1 301 Moved Permanently
Date: Fri, 07 Jan 2011 20:06:13 GMT
Server: Apache
Location: [noparse]http://www.businessanalystfaq.com/businessanalystforum/[/noparse]
Content-Length: 335
Keep-Alive: timeout=15, max=94
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1

[noparse]http://www.businessanalystfaq.com/businessanalystforum/[/noparse]

GET /businessanalystforum/ HTTP/1.1
Host: [noparse]www.businessanalystfaq.com[/noparse]
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Cookie: __utma=251416085.755868663.1287085477.1294290679.1294372129.114; __utmz=251416085.1294000761.111.21.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=business%20analyst; fc=fcVal=5711645800312896919

HTTP/1.1 301 Moved Permanently
Date: Fri, 07 Jan 2011 20:06:13 GMT
Server: Apache
X-Pingback: [noparse]http://businessanalystfaq.com/businessanalystforum/xmlrpc.php[/noparse]
Location: [noparse]http://businessanalystfaq.com/businessanalystforum/[/noparse]
Content-Length: 0
Keep-Alive: timeout=15, max=92
Connection: Keep-Alive
Content-Type: text/html; charset=UTF-8

[noparse]http://businessanalystfaq.com/businessanalystforum/[/noparse]

GET /businessanalystforum/ HTTP/1.1
Host: businessanalystfaq.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Cookie: __utma=251416085.755868663.1287085477.1294290679.1294372129.114; __utmz=251416085.1294000761.111.21.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=business%20analyst; fc=fcVal=5711645800312896919

HTTP/1.1 301 Moved Permanently
Date: Fri, 07 Jan 2011 20:06:13 GMT
Server: Apache
Location: [noparse]http://www.businessanalystfaq.com/businessanalystforum/[/noparse]
Content-Length: 335
Keep-Alive: timeout=15, max=93
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1

[noparse]http://f434.mail.yahoo.com/ws/mail/v1/formrpc?appid=YahooMailClassic&wssid=sSxY/7OHvQP&m=BatchExecute[/noparse]

POST /ws/mail/v1/formrpc?appid=YahooMailClassic&wssid=sSxY/7OHvQP&m=BatchExecute HTTP/1.1
Host: f434.mail.yahoo.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: [noparse]http://us.mc434.mail.yahoo.com/mc/welcome?.gx=1&.tm=1294428787&.rand=3qq1a7aicr59o[/noparse]
Cookie: B=fn0jl3d6al8jj&b=4&d=wP5Vfm5pYEKEuJig4jzwVl5.49JjREUSEAF.XA–&s=37&i=RZq5amJM1KBtKygEax2w; F=a=2.vDKLUMvTTRmfmYahtuLAw2IQQRW25CBCTX4LGpHnSAvdOjIQlIsyaTERO1WaTCyjLkWP4qer5EEzKjMl4S1bFd0ZaQNUbTGB7RLaqelwX5LKNWBJ6iuID25dNvnEq2Jyaooybc9c0U1xmFPCx7s6P4uuqwcfGtLV8d&b=LL9M; YLS=v=1&p=0&n=0; YSC=0; PL=V=1.1&d=294pJmlRMr5gQYo428r52NSkp9P9Mj7i0uNsne6_2VMlGjGQypb2PcLaDSwn9RgVJ9lGMOYc0ivexOyR0VleaXCwZjD.GQzI1xLFUg_iL_hRywL_2xlMraE8STaV.1YxhQNoWZOL5FnXKZ3nluquYAWEPUJRxxR9HIGn3GLCmOGCAsv2S1SfPE2kEM1QkYKhDLrp9r6jL_yriDmmJ0t2S.CmpQeGYbnXiY3k2bdGi7wHE_w_ZyMdsq7SOmkQxwf0A5ouAZHeGSWf0u.2aKajj4lyqIZ.S27hhHCj4tHX; s_vsn_yahoogroupsygprod_1=6870846910289; BA=ba=7597&ip=108.28.99.224&t=1294109558; PH=fn=BvR_7zQBMYCszYsGFkw-&l=en-US; T=z=2t1JNB2BdONBG.IE6CBPK6MMzQzBjZONjM3NU5PM041NTE3Mj&a=YAE&sk=DAAFZa0/nGc6V4&ks=EAA2Lh3dos3wfAI84j_z5z8cA–~E&d=c2wBTkRNMEFURTVNVFF3TWprNE5Ea3lNall3TlRZegFhAVlBRQFnAU5SWDNTQTVMR0RPT1ZRVzQzVVdJS0xaWjJFAW9rAVpXMC0BdGlwAXN4eFlnRAF6egEydDFKTkJBN0U-; Y=v=1&n=7fpp311sri4ck&l=30l83l8biedsqqz/o&p=m2608l3012000000&r=kn&lg=en-US&intl=us&np=1; HP=0
Content-Type: application/x-www-form-urlencoded
Content-Length: 693
call%280%29-id=setmetadata&call%280%29-SetMetaData-meta-name=im_init&call%280%29-SetMetaData-meta-value=1&call%280%29-SetMetaData-meta-path=ymc%3Emsgr%3Eim_init&call%281%29-id=setmetadata&call%281%29-SetMetaData-meta-name=im_State&call%281%29-SetMetaData-meta-value=12&call%281%29-SetMetaData-meta-path=ymc%3Emsgr%3Eim_State&call%282%29-id=setmetadata&call%282%29-SetMetaData-meta-name=curstatus&call%282%29-SetMetaData-meta-value=2&call%282%29-SetMetaData-meta-path=ymc%3Emsgr%3Ecurstatus&call%283%29-id=setmetadata&call%283%29-SetMetaData-meta-name=blocklist&call%283%29-SetMetaData-meta-value=meera.pulseinfotech%7Cthats_peter%7C&call%283%29-SetMetaData-meta-path=cg%3Epref%3Eim%3Eblocklist
HTTP/1.1 200 OK
Date: Fri, 07 Jan 2011 20:06:13 GMT
P3P: policyref=“http://info.yahoo.com/w3c/p3p.xml”, CP=“CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV”
Cache-Control: no-store, private
Expires: Thu, 01 Jan 1970 00:00:00 GMT
X-Server-Timestamp: 1294430773
X-Response-Time: 43
X-Ywsc-Debug: {“system.hostname”:“web43407.mail.sp1.yahoo.com”,“request.time.total”:43}
Vary: Accept-Encoding
Connection: close
Transfer-Encoding: chunked
Content-Type: text/xml; charset=UTF-8
Content-Encoding: gzip

[noparse]http://www.businessanalystfaq.com/businessanalystforum/[/noparse]

GET /businessanalystforum/ HTTP/1.1
Host: [noparse]www.businessanalystfaq.com[/noparse]
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Cookie: __utma=251416085.755868663.1287085477.1294290679.1294372129.114; __utmz=251416085.1294000761.111.21.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=business%20analyst; fc=fcVal=5711645800312896919

HTTP/1.1 301 Moved Permanently
Date: Fri, 07 Jan 2011 20:06:13 GMT
Server: Apache
X-Pingback: [noparse]http://businessanalystfaq.com/businessanalystforum/xmlrpc.php[/noparse]
Location: [noparse]http://businessanalystfaq.com/businessanalystforum/[/noparse]
Content-Length: 0
Keep-Alive: timeout=15, max=91
Connection: Keep-Alive
Content-Type: text/html; charset=UTF-8

[noparse]http://businessanalystfaq.com/businessanalystforum/[/noparse]

GET /businessanalystforum/ HTTP/1.1
Host: businessanalystfaq.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Cookie: __utma=251416085.755868663.1287085477.1294290679.1294372129.114; __utmz=251416085.1294000761.111.21.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=business%20analyst; fc=fcVal=5711645800312896919

HTTP/1.1 301 Moved Permanently
Date: Fri, 07 Jan 2011 20:06:13 GMT
Server: Apache
Location: [noparse]http://www.businessanalystfaq.com/businessanalystforum/[/noparse]
Content-Length: 335
Keep-Alive: timeout=15, max=92
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1

[noparse]http://www.businessanalystfaq.com/businessanalystforum/[/noparse]

GET /businessanalystforum/ HTTP/1.1
Host: [noparse]www.businessanalystfaq.com[/noparse]
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Cookie: __utma=251416085.755868663.1287085477.1294290679.1294372129.114; __utmz=251416085.1294000761.111.21.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=business%20analyst; fc=fcVal=5711645800312896919

HTTP/1.1 301 Moved Permanently
Date: Fri, 07 Jan 2011 20:06:14 GMT
Server: Apache
X-Pingback: [noparse]http://businessanalystfaq.com/businessanalystforum/xmlrpc.php[/noparse]
Location: [noparse]http://businessanalystfaq.com/businessanalystforum/[/noparse]
Content-Length: 0
Keep-Alive: timeout=15, max=90
Connection: Keep-Alive
Content-Type: text/html; charset=UTF-8

[noparse]http://businessanalystfaq.com/businessanalystforum/[/noparse]

GET /businessanalystforum/ HTTP/1.1
Host: businessanalystfaq.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Cookie: __utma=251416085.755868663.1287085477.1294290679.1294372129.114; __utmz=251416085.1294000761.111.21.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=business%20analyst; fc=fcVal=5711645800312896919

HTTP/1.1 301 Moved Permanently
Date: Fri, 07 Jan 2011 20:06:14 GMT
Server: Apache
Location: [noparse]http://www.businessanalystfaq.com/businessanalystforum/[/noparse]
Content-Length: 335
Keep-Alive: timeout=15, max=91
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1

Yup, those headers prove what I expected.
Your main .htaccess is forcing www, and the blog is forcing non-www so they get stuck in a loop adding and removing www.
Make sure the blog also wants to use the www domain (probably a setting somewhere) and you should be fine :slight_smile:

Thanks for your reply,
But how can i set my wordpress blog to have www.siteanem…

please tell me if you know how to do this? Because I just installed from godaddy server, i can even see the home page of the blog. SO, it is not possible to login into it.

Thank you, I solved it. in wordpress settings, i changed http:// to http://www.

I’ve never worked with WP so I have no idea, but we have a Wordpress forum here at SitePoint. You could ask there :slight_smile: