Welcome, Guest
Username Password: Remember me

Too many redirects
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Too many redirects

Too many redirects 12 years, 11 months ago #6568

  • jerrico
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 0
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.

Re: Too many redirects 12 years, 11 months ago #6599

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
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]
Last Edit: 12 years, 11 months ago by dryabov.
  • Page:
  • 1
Time to create page: 0.10 seconds

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.