You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
Hi, I hope someone will help me with this.
I installed WordPress in a separate MySQL directory in my hosting. I will use it to create a blog as one of my SEO strategies.
The application was successfully installed but when I clicked on the URL pointing to my blog - wwwoutcastgirls.com/blog - I receive the following error message: "The page isn't redirecting properly. Firefox has detected that the server is redirecting the request for this address in a way that will never complete."
When I temporally disabled (by renaming it) the .htaccess, the blog was working. When I activated it again, I got the same error message when accessing the blog.
So this tells me that the issue is with the .htaccess file.
This is what I currently have in my .htaccess:
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^outcastgirls.com$ [NC]
RewriteRule ^(.*)$ http://www.outcastgirls.com/$1 [L,R=301]
RewriteRule ^(.*)-(.*)/(.*)\.html index.php?app=$1&ns=$2&ref=$3 [L,PT]
My question is, what changes can I make in .htaccess (or anywhere else) so both wwwoutcastgirls.com and wwwoutcastgirls.com/blog will be redirecting properly.
Please, help. Thank you kindly!
Last edited by OutcastGirls (08-22-2009 11:57:16)
Offline
If your blog is in a directory named blog with in the root directory then why would you need a rewrite rule to redirect it back to itself saying that you get to the blog by url_path/blog?
John
Last edited by dh783 (08-22-2009 10:15:42)
Offline
I already know that isn't working. I'll make it easier and remove it from my post so people would not get confused. That being said, is there a solution to this problem as described above?
Last edited by OutcastGirls (08-22-2009 12:01:31)
Offline
It is still unclear (to me at least) how your trying to get to your blog? If the the url to the blog is www. outcastgirls/blog and you have this rewrite rule
RewriteRule ^(.*)$ http://www.outcastgirls.com/$1 [L,R=301]
then it come in as www. outcastgirls/blog and is redirected to www. outcastgirls/blog (as well as any other url), just a little redundant to me.
John
Offline
Well, that's what I am trying to figure out. I don't get it either.
As I said, when I click on wwwoutcastgirls.com/blog I get an error message.
When I disable the .htaccess the link to my blog works. But if I do that then I can't redirect the non-www to the www.
Offline
I've finally installed WordPress, but to accomplish that I had to create a subdomain in GoDaddy.
Now I have blog.outcastgirls.com but I can't redirect it to wwwblog.outcastgirls.com.
Is there a different 301 redirect code used specifically for subdomains? I tried the following rule but it did not work:
RewriteCond %{HTTP_HOST} ^blog.outcastgirls.com$ [NC]
RewriteRule ^(.*)$ http://www.blog.outcastgirls.com/$1 [L,R=301]
Is there an error in this interpretation? Has anyone ran into a similar issue? Thanks.
Last edited by OutcastGirls (08-23-2009 01:07:15)
Offline