Too many redirects

jerrico
13 years, 5 months ago
The more I try to fix the installation - the more it misbehaves.

My site now will not even display the included pda template that was showing yesterday: m.greengranite.com should be displaying the pda template. And, on my iPHone - it is now saying too many redirects.

I have checked my .htaccess folder - and the redirect says:

RewriteCond %{HTTP_HOST} ^greengranite.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.greengranite.com$
RewriteRule ^index\.php\ $ "http\:\/\/www\.greengranite\.com\/" [R=301,L]

When I change it to read like some of your forum posts - the www. site goes down.

Yesterday, I posted on the forum about getting the home page to show different content from the main page (Home Page Redirect) and it not working on the Android. No responses to those posts yet....

I hope someone can help me.
dryabov
13 years, 5 months ago
Second rule is unnecessary, and redirect is quite strange (rule for index.php with trailing space). Seems correct redirect should read

RewriteCond %{HTTP_HOST} ^greengranite.com$
RewriteRule ^(.*)$ http://www.greengranite.com/$1 [R=301,L]

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.