chirag Posted July 21, 2012 Share Posted July 21, 2012 i just installed prestashop v 1.4.8.2. the backshop works fine. but i get this error when i open the front shop: This webpage has a redirect loop The webpage at http://flowermagics.com/ has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer. Here are some suggestions: Reload this webpage later. Learn more about this problem. Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects. Please give some solution. Link to comment Share on other sites More sharing options...
shacker Posted July 24, 2012 Share Posted July 24, 2012 isee it correct Link to comment Share on other sites More sharing options...
chirag Posted July 24, 2012 Author Share Posted July 24, 2012 i am using another cart on www.flowermagics.com for time being. I have installed prestashop on my subdomain for testing... Please Check : www.chirag.flowermagics.com Link to comment Share on other sites More sharing options...
markb Posted July 24, 2012 Share Posted July 24, 2012 This is usually due to a.htaccess error if you are on a Linux style server. Try deleting your .htaccess file and regenerating it from the back office: Tools -> Generators then click button "Generate .htaccess file". Link to comment Share on other sites More sharing options...
chirag Posted July 24, 2012 Author Share Posted July 24, 2012 I am unable to find the .htaccess file. can you pls tell me the location... Link to comment Share on other sites More sharing options...
markb Posted July 24, 2012 Share Posted July 24, 2012 Sorry - I should have said - it's a hidden file. There is usually an option on the ftp program to view hidden files Dreamweaver etc., has an option "view hidden files" Type "view hidden files ftp" into Google for more info. Hidden files may not show up in certain ftp programmes: Filezilla has problems displaying hidden files. But it should be in the root of the folder you installed PS in i.e. not inside any subfolders. If you cannot see the .htaccess to delete it try creating a new one with the Generator - hopefully this should overwrite it. Link to comment Share on other sites More sharing options...
shacker Posted July 25, 2012 Share Posted July 25, 2012 try the suggestion of the user markb. But now i see only a white page. Maybe need to enable in config/config.inc.php the option display_errors to on Link to comment Share on other sites More sharing options...
dhurley Posted July 25, 2012 Share Posted July 25, 2012 In Prestashop 1.5 Preferences -> SEO & URL's Set this to YES Disable apache multiviews nable this option only if you have problems with URL rewriting on some pages. Link to comment Share on other sites More sharing options...
chirag Posted July 26, 2012 Author Share Posted July 26, 2012 In preferences i selected SEO n URL>>Automatically redirect to canonical url>>YES after that its displaying a white page. i have selected NO now and its showing the same error. i tried searching for .htaccess but couldnt find the hidden file. @dhurley : you mean to say i must upgrade from 1.4.8 to 1.5.0? Link to comment Share on other sites More sharing options...
shacker Posted July 26, 2012 Share Posted July 26, 2012 you put display errors to on? Link to comment Share on other sites More sharing options...
dhurley Posted July 26, 2012 Share Posted July 26, 2012 The setting might not be available in 1.4.8. Don't know I have not used it. In 1.5 the setting is called "disable multiviews" if you do the research you will find yourself wondering why anybody would turn this off. In a nutshell Google Bot has a hard time crawling sites that have apache multiview enabled. .htaccess is a hidden file. In your ftp program if you have a command window use "-a" or show all. Or look for an option to show hidden files. This file needs to have the correct permissions (chmod 777 something other than 777 might work 755 or 766). But prestashop writes its own .htaccess files. If prestashop cannot open and change that file, then seo friendly urls and other things will not work. Canonical urls: if a user visits /page1.php?id=3 and this setting is enabled they should be redirected to the "rewritten" address for that same page or: /our-favorite-page-3 These settings are not the same they are related. Would I recommend upgrading to 1.5? No, not until they have a stable release. Right now it is in "Release Candidate" this is closer than "Beta" but, if you are not a programmer, I would wait. You might have to disable multiviews in your apache configuration (/etc/apache2/httpd.conf) or it might be in php.ini. Link to comment Share on other sites More sharing options...
Swickaar Posted October 26, 2012 Share Posted October 26, 2012 This problem has still not resolved Link to comment Share on other sites More sharing options...
chipiron Posted August 4, 2016 Share Posted August 4, 2016 (edited) In Prestashop 1.5 Preferences -> SEO & URL's Set this to YES Disable apache multiviews nable this option only if you have problems with URL rewriting on some pages. I can't get access to my Prestashop homepage nor CMS. The error message I receive is: ERR_TOO_MANY_REDIRECTS. I tried to publish my website by just changing the HOME directory name of my prestashop instance. How could I fix this? HELP!!! Edited August 4, 2016 by chipiron (see edit history) Link to comment Share on other sites More sharing options...
chipiron Posted August 5, 2016 Share Posted August 5, 2016 I was finally able to solve my problem by: 1) setting the new shop address in the SEO & URL module 2) setting the right home path (this was wrong) in the SEO & URL module 3) remove the .htaccess file from the host home directory Thanks anyway! Link to comment Share on other sites More sharing options...
uniqdom Posted February 24, 2017 Share Posted February 24, 2017 I had the same problem: loser@brick:/tmp# wget https://server.com/prestashop/index.php --2017-02-23 21:59:36-- https://server.cl/prestashop/index.php Resolving server.cl (server.cl)... 190.46.26.35 Connecting to server.cl (server.cl)|190.46.26.35|:443... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: http://server.cl/prestashop/index.php [following] --2017-02-23 21:59:37-- http://server.cl/prestashop/index.php Connecting to server.cl (server.cl)|190.46.26.35|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://server.cl/prestashop/index.php [following] --2017-02-23 21:59:37-- https://server.cl/prestashop/index.php Connecting to server.cl (server.cl)|190.46.26.35|:443... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: http://server.cl/prestashop/index.php [following] ... Note how it was redirecting from https://server.cl/prestashop/index.php to http://server.cl/prestashop/index.php and then from http://server.cl/prestashop/index.php to https My Nginx config had a rule to rewrite all urls as https, and Prestashop's defaults is to serve all pages without https. So, to solve this we have 2 options: 1.- Login as Administrator in Prestashop and enable "SSL" and enable "SSL on all pages" options. Both are under Configure -> Shop Parameters -> General. 2.- Change your rewrite rules in your HTTP Server (nginx, apache, lighttpd, ...) Link to comment Share on other sites More sharing options...
El Patron Posted February 25, 2017 Share Posted February 25, 2017 a real common mistake is back office-->prefererences-->seo & urls-->domain and domain ssl if you have domain or ssl domain with trailing slash, www.prestaheroes.com/ this can lead to to many redirects issue. hope this tip helps someone Link to comment Share on other sites More sharing options...
limitcracker Posted June 1, 2019 Share Posted June 1, 2019 On 2/25/2017 at 3:00 PM, El Patron said: a real common mistake is back office-->prefererences-->seo & urls-->domain and domain ssl if you have domain or ssl domain with trailing slash, www.prestaheroes.com/ this can lead to to many redirects issue. hope this tip helps someone hi do you put https in the domain itself? I have it as the following and I keep getting the "Too many redirects error" Link to comment Share on other sites More sharing options...
El Patron Posted June 2, 2019 Share Posted June 2, 2019 16 hours ago, limitcracker said: hi do you put https in the domain itself? I have it as the following and I keep getting the "Too many redirects error" No, you only use the domain name....do not include the https:// happy selling, el Link to comment Share on other sites More sharing options...
N N Posted September 22, 2019 Share Posted September 22, 2019 I had same problem. I went to Advance Parameters>webservice>enable prestashop webservice and it worked. Link to comment Share on other sites More sharing options...
SahinSOLMAZ Posted February 27, 2020 Share Posted February 27, 2020 Hi Guys, There is another point which is not mentioned here. Maybe someone can face with it. If you, have a SSL on your server side and redirect, also use a CDN like CloudFlare (it has also SSL and redirect), you can fell down in too many redirect problem. Basicly, disable it one of them or make configuration rightly. Be sure that you redirect your HTTP site to SSL just on one side (it is enough). 1 Link to comment Share on other sites More sharing options...
sg1_anhell Posted March 11, 2022 Share Posted March 11, 2022 In my case it was just that I put www.domain.com in SEO URL configuration and It should be without www, just domain.com Link to comment Share on other sites More sharing options...
carlos ilari Posted July 11, 2023 Share Posted July 11, 2023 On 8/5/2016 at 7:41 AM, chipiron said: I was finally able to solve my problem by: 1) setting the new shop address in the SEO & URL module 2) setting the right home path (this was wrong) in the SEO & URL module 3) remove the .htaccess file from the host home directory Thanks anyway! Hi! im having the same issue, i clone the site in a subdirectory, how did you change the SEO and URL module? within the folder or in database? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now