Jump to content
thirty bees forum
  • 0

Newly installed thirtybees site won't load - ERR_TOO_MANY_REDIRECTS


alwayspaws

Question

@mdekker @Global-Moderators

Admin loads fine. The actual site won't load in Chrome, FireFox or safari. I've deleted all cookies, cleared all cache, deleted history, etc for all of them and closed each browser and restarted each browser. Tried this 3X each for each browser.

Results from each browser:

Chrome: This page isn’t working newshop.alwayspaws.com redirected you too many times. Try clearing your cookies. ERRTOOMANY_REDIRECTS

I used the developers tools and got this:

GET http://newshop.alwayspaws.com/ net::ERRTOOMANY_REDIRECTS data:text/html,chromewebdata:4176

FireFox: The page isn’t redirecting properly

Firefox has detected that the server is redirecting the request for this address in a way that will never complete. This problem can sometimes be caused by disabling or refusing to accept cookies.

Safari - I couldn't copy the text it showed but it said the same thing.

How do I fix this, please?

Link to comment
Share on other sites

Recommended Posts

  • 0

Disabled friendly urls and turned on debug mode.

Here is the .htaccess contents:

RewriteEngine on

RewriteRule .*.(jpg|jpeg|gif|png|bmp|png)$ - [F,NC]

RewriteCond %{HTTPREFERER} !^$ RewriteCond %{HTTPREFERER} !^http://alwayspaws.com/.$ [NC] RewriteCond %{HTTP_REFERER} !^http://alwayspaws.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://newdev.alwayspaws.com/.$ [NC] RewriteCond %{HTTPREFERER} !^http://newdev.alwayspaws.com$ [NC] RewriteCond %{HTTPREFERER} !^http://thirtybees.alwayspaws.com/.$ [NC] RewriteCond %{HTTP_REFERER} !^http://thirtybees.alwayspaws.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.alwayspaws.com/.$ [NC] RewriteCond %{HTTPREFERER} !^http://www.alwayspaws.com$ [NC] RewriteCond %{HTTPREFERER} !^http://www.newdev.alwayspaws.com/.$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.newdev.alwayspaws.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.thirtybees.alwayspaws.com/.$ [NC] RewriteCond %{HTTPREFERER} !^http://www.thirtybees.alwayspaws.com$ [NC] RewriteCond %{HTTPREFERER} !^https://alwayspaws.com/.$ [NC] RewriteCond %{HTTP_REFERER} !^https://alwayspaws.com$ [NC] RewriteCond %{HTTP_REFERER} !^https://newdev.alwayspaws.com/.$ [NC] RewriteCond %{HTTPREFERER} !^https://newdev.alwayspaws.com$ [NC] RewriteCond %{HTTPREFERER} !^https://thirtybees.alwayspaws.com/.$ [NC] RewriteCond %{HTTP_REFERER} !^https://thirtybees.alwayspaws.com$ [NC] RewriteCond %{HTTP_REFERER} !^https://www.alwayspaws.com/.$ [NC] RewriteCond %{HTTPREFERER} !^https://www.alwayspaws.com$ [NC] RewriteCond %{HTTPREFERER} !^https://www.newdev.alwayspaws.com/.$ [NC] RewriteCond %{HTTP_REFERER} !^https://www.newdev.alwayspaws.com$ [NC] RewriteCond %{HTTP_REFERER} !^https://www.thirtybees.alwayspaws.com/.$ [NC] RewriteCond %{HTTP_REFERER} !^https://www.thirtybees.alwayspaws.com$ [NC] RewriteRule .*.(jpg|jpeg|gif|png|bmp)$ - [F,NC]

~~start~~ Do not remove this comment, thirty bees will keep automatically the code outside this comment when .htaccess will be generated again

.htaccess automatically generated by thirty bees e-commerce open-source solution

http://www.thirtybees.com - http://www.thirtybees.com/forums

SetEnv HTTPMODREWRITE On

RewriteEngine on

Domain: newshop.alwayspaws.com

RewriteRule . - [E=REWRITEBASE:/] RewriteRule ^api$ api/ [L]

RewriteRule ^api/(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]

AlphaImageLoader for IE and fancybox

RewriteRule ^images_ie/?([^/]+).(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L]

AddType application/vnd.ms-fontobject .eot AddType font/ttf .ttf AddType font/otf .otf AddType application/x-font-woff .woff Header add Access-Control-Allow-Origin "*"

If rewrite mod isn't enabled

ErrorDocument 404 /index.php?controller=404

~~end~~ Do not remove this comment, thirty bees will keep automatically the code outside this comment when .htaccess will be generated again

Link to comment
Share on other sites

  • 0

can you remove all these lines: RewriteRule .*.(jpg|jpeg|gif|png|bmp|png)$ - [F,NC]

RewriteCond %{HTTPREFERER} !^$ RewriteCond %{HTTPREFERER} !^http://alwayspaws.com/.$ [NC] RewriteCond %{HTTPREFERER} !^http://alwayspaws.com$ [NC] RewriteCond %{HTTPREFERER} !^http://newdev.alwayspaws.com/.$ [NC] RewriteCond %{HTTPREFERER} !^http://newdev.alwayspaws.com$ [NC] RewriteCond %{HTTPREFERER} !^http://thirtybees.alwayspaws.com/.$ [NC] RewriteCond %{HTTPREFERER} !^http://thirtybees.alwayspaws.com$ [NC] RewriteCond %{HTTPREFERER} !^http://www.alwayspaws.com/.$ [NC] RewriteCond %{HTTPREFERER} !^http://www.alwayspaws.com$ [NC] RewriteCond %{HTTPREFERER} !^http://www.newdev.alwayspaws.com/.$ [NC] RewriteCond %{HTTPREFERER} !^http://www.newdev.alwayspaws.com$ [NC] RewriteCond %{HTTPREFERER} !^http://www.thirtybees.alwayspaws.com/.$ [NC] RewriteCond %{HTTPREFERER} !^http://www.thirtybees.alwayspaws.com$ [NC] RewriteCond %{HTTPREFERER} !^https://alwayspaws.com/.$ [NC] RewriteCond %{HTTPREFERER} !^https://alwayspaws.com$ [NC] RewriteCond %{HTTPREFERER} !^https://newdev.alwayspaws.com/.$ [NC] RewriteCond %{HTTPREFERER} !^https://newdev.alwayspaws.com$ [NC] RewriteCond %{HTTPREFERER} !^https://thirtybees.alwayspaws.com/.$ [NC] RewriteCond %{HTTPREFERER} !^https://thirtybees.alwayspaws.com$ [NC] RewriteCond %{HTTPREFERER} !^https://www.alwayspaws.com/.$ [NC] RewriteCond %{HTTPREFERER} !^https://www.alwayspaws.com$ [NC] RewriteCond %{HTTPREFERER} !^https://www.newdev.alwayspaws.com/.$ [NC] RewriteCond %{HTTPREFERER} !^https://www.newdev.alwayspaws.com$ [NC] RewriteCond %{HTTPREFERER} !^https://www.thirtybees.alwayspaws.com/.$ [NC] RewriteCond %{HTTP_REFERER} !^https://www.thirtybees.alwayspaws.com$ [NC] RewriteRule .*.(jpg|jpeg|gif|png|bmp)$ - [F,NC]

Link to comment
Share on other sites

  • 0

Done. Here is the new .htaccess file contents

~~start~~ Do not remove this comment, thirty bees will keep automatically the code outside this comment when .htaccess will be generated again

.htaccess automatically generated by thirty bees e-commerce open-source solution

http://www.thirtybees.com - http://www.thirtybees.com/forums

SetEnv HTTPMODREWRITE On

RewriteEngine on

Domain: newshop.alwayspaws.com

RewriteRule . - [E=REWRITEBASE:/] RewriteRule ^api$ api/ [L]

RewriteRule ^api/(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]

AlphaImageLoader for IE and fancybox

RewriteRule ^images_ie/?([^/]+).(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L]

AddType application/vnd.ms-fontobject .eot AddType font/ttf .ttf AddType font/otf .otf AddType application/x-font-woff .woff Header add Access-Control-Allow-Origin "*"

If rewrite mod isn't enabled

ErrorDocument 404 /index.php?controller=404

~~end~~ Do not remove this comment, thirty bees will keep automatically the code outside this comment when .htaccess will be generated again

Link to comment
Share on other sites

  • 0

it looks like you have bad redirect from http to https. you need to make sure you remove https (just for now), also in seo & url remove the ssl part. https://newshop.alwayspaws.com/contact-us - this one loads. and it still redirect to https. so maybe you have redirect from you dns settings.

Link to comment
Share on other sites

  • 0

OK! Thanks for guiding me in the right direction(s).

I found a FAQ that may help me fix the DNS. It says I may have to wait a few hours. Also it says to flush the local DNS cache but only shows how to do it in Windows. I'll google it for my Mac.

After an SSL installation on your web hosting account you may not be able to open your site.

FAQ: Site does not open after SSL installation: https://www.siteground.com/kb/sslerrormessage/

Link to comment
Share on other sites

  • 0

I found how to Clear the local DNS cache in macOS Open terminal and enter:

​sudo killall -HUP mDNSResponder enter password It doesn't display anything afterwards so I don't know if it did something or not.

I'm going to contact my host just in case there is something misconfigured. @yaniv14 Thank you and Good Night. I appreciate all this help!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...