Jump to content

Redirect Loop


Recommended Posts

Hi ,
My website has developed an issue when using Chrome to add a product to the basket or click on 'view basket' (it happens if you are registered or a guest)
Message in Chrome:
This web page has a redirect loop
I have looked in the htaccess file and restored an old backup file, but this has not solved the problem.
Any hints or tips on where to fix this as obviously my site is currently not able to take orders in Chrome :(
The website is working in Firefox and Internet Explorer
Thanks in advance
Link to comment
Share on other sites

If I recall, this effect is seen in Opera and Chrome when the time on your computer is not close enough to the real time.


Please verify that your computer's time is synced with the time you might find displayed on your mobile phone.

Link to comment
Share on other sites

Now, since the problem is not seen on all browsers you have installed on your computer, we have a good case to blame the cookies your browser has for your site. It seems Chrome can clear cookies on a per-domain basis, and also by a specified date-range. Other suggestions imply that the cookies for your site need to be cleared "for all time".


Do you have access to another computer with Chrome installed? If so, does the problem show on that computer?


There is also:

Brian Kennish's Disconnect Chrome extension with its Google Blocker (I have no idea what this is).

Link to comment
Share on other sites

  • 1 month later...

Several ustomers have just started seeing this problem on my Cubecart 5 website also, and it seems to be Chrome that is at fault. Here is my .htaccess file, is there anything I can add to stop this redirect loop error:


## File Security
<FilesMatch ".(htaccess)$">
 Order Allow,Deny
 Deny from all

#### Apache directory listing rules ####
DirectoryIndex index.php index.htm index.html
IndexIgnore *

#### Rewrite rules for SEO functionality ####

<IfModule mod_rewrite.c>
  RewriteEngine On

  RewriteCond %{QUERY_STRING} (.*)$
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule cat_([0-9]+)(.[a-z]{3,4})?(.*)$ index.php?_a=category&cat_id=$1&%1 [NC]

  RewriteCond %{QUERY_STRING} (.*)$
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule prod_([0-9]+)(.[a-z]{3,4})?$ index.php?_a=product&product_id=$1&%1 [NC]

  RewriteCond %{QUERY_STRING} (.*)$
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule info_([0-9]+)(.[a-z]{3,4})?$ index.php?_a=document&doc_id=$1&%1 [NC]

  RewriteCond %{QUERY_STRING} (.*)$
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule tell_([0-9]+)(.[a-z]{3,4})?$ index.php?_a=product&product_id=$1&%1 [NC]

  RewriteCond %{QUERY_STRING} (.*)$
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule _saleItems(.[a-z]+)?(?.*)?$ index.php?_a=saleitems&%1 [NC,L]

  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_URI} !=/favicon.ico
  RewriteRule ^(.*).html?$ index.php?seo_path=$1 [L,QSA]



CC5 details:


Script Version 5.2.12 PHP Version 5.2.17 MySQL Version 50535


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...