title: HTTP/1.1 302 Found redirect loop
body: <p>I'm having a problem with our site, in homepage it is working appropriately but when I visit the inside pages it returns 302 Found and keeps on redirecting, I used the logs in inspector element. In chrome it is working, but in ie11 and firefox it keeps on redirecting. </p>
  
  <p>Here is my htaccess:</p>
  
  <p></p>
  
  <pre><code>RewriteEngine On
  
  #
  #  Full path to your site
  #
  # RewriteBase /
  
  #
  #  Rules
  #
  
  #RewriteCond %{HTTPS} off
  #RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
  #RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
  
  #RewriteCond %{HTTPS} on
  #RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
  #RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
  
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  
  RewriteRule ^(.*) index.php?do=$1
  
  
  ErrorDocument 404 /error
  </code></pre>
  
  <p></p>
  
  <p>you can check this link to see what im talking about. <a href="http://mst.com.ph" rel="nofollow">http://mst.com.ph</a> and then try: <a href="http://mst.com.ph/category/motoring/" rel="nofollow">http://mst.com.ph/category/motoring/</a></p>