Multi store states to many redirects to clear cookies only on mobile version

so i added the following to the .htaccess and the mobile version works again

RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} !(iPhone|iPad|iPod|MSIE.*Windows\ NT|Lynx|Safari|Opera|Firefox|Konqueror|Chrome|Opera\ Mini|SymbianOS|Mobile) 
RewriteRule (.*) - [F]

this is a total hack, anyone has any ideas on how to properly fix this?


Please try following steps:

  • In the core_config_data table remove the value of web/cookie/cookie_domain
  • In the core_config_data table set web/cookie/cookie_httponly to 0.
  • Clear the cache by removing the files and directories in “var/cache”.
  • very odd it is only happening when using chrome and clicking on the inspector i checked on actual mobile device and it loads fine. very odd tried deleting history etc. whats odd is it only happens on this site my other magento sites dont do the same thing – user3677211 Sep 30 '16 at 19:40
  • 2
    its a caching problem – Developer Sep 30 '16 at 19:52
  • It was cahce problem for me, I just flushed magento cache. It's funny how cache in magento causes 90% of all problems – FosAvance Dec 5 '16 at 8:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.