Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » Chameleon / ChameleonLite
- » Chameleon
- » [solved] The webpage has a redirect loop
[solved] The webpage has a redirect loop
[solved] The webpage has a redirect loop
HI Stephen
Using Chameleon 2.44 on Joomla 3.3.6 and PHP Version 5.3.15.
I have a simple rule which detects browser (under Environment) - chrome. If the browser is chrome, it redirects to a url.
If I put and external url like http://www.google.com.au/, it redirects no problems.
However, if I use an internal chosen uder "redirect this..." dropdown, the page tries to load but it just sits there and then throws a 310 ERRORCODE: ERR_TOO_MANY_REDIRECTS
If I turn on DEBUG in chameleon, I get the following displayed after I turn the rule off. I only have 1 rule enabled so not sure what the issue could be.
CHAMELEON DEBUG ON
Current date and time: "2014-10-07 21:29:45pm" in timezone "Australia/Brisbane"
Processing rule id 5 ("Unsupported Browser")
- Browser "chrome" in allowed list
Started SUCCEED action for rule id 5
* Redirecting to /supported-browers.html
CHAMELEON DEBUG ON
Current date and time: "2014-10-07 21:29:45pm" in timezone "Australia/Brisbane"
Processing rule id 5 ("Unsupported Browser")
- Browser "chrome" in allowed list
Started SUCCEED action for rule id 5
* Redirecting to /supported-browers.html
CHAMELEON DEBUG ON
Current date and time: "2014-10-07 21:29:45pm" in timezone "Australia/Brisbane"
Processing rule id 5 ("Unsupported Browser")
- Browser "chrome" in allowed list
Started SUCCEED action for rule id 5
* Redirecting to /supported-browers.html
CHAMELEON DEBUG ON
Current date and time: "2014-10-07 21:29:46pm" in timezone "Australia/Brisbane"
Processing rule id 5 ("Unsupported Browser")
- Browser "chrome" in allowed list
Started SUCCEED action for rule id 5
* Redirecting to /supported-browers.html
CHAMELEON DEBUG ON
Current date and time: "2014-10-07 21:29:46pm" in timezone "Australia/Brisbane"
Processing rule id 5 ("Unsupported Browser")
- Browser "chrome" in allowed list
Started SUCCEED action for rule id 5
* Redirecting to /supported-browers.html
CHAMELEON DEBUG ON
Current date and time: "2014-10-07 21:29:46pm" in timezone "Australia/Brisbane"
Processing rule id 5 ("Unsupported Browser")
- Browser "chrome" in allowed list
Started SUCCEED action for rule id 5
* Redirecting to /supported-browers.html
CHAMELEON DEBUG ON
Current date and time: "2014-10-07 21:29:46pm" in timezone "Australia/Brisbane"
Processing rule id 5 ("Unsupported Browser")
- Browser "chrome" in allowed list
Started SUCCEED action for rule id 5
* Redirecting to /supported-browers.html
Thanks
Patrick
Re: [solved] The webpage has a redirect loop
Hi Patrick,
the logic here is that you are sending everyone with a particular browser to a particular page... but when they get there, the same test is done again and they are redirected back to that same page, over and over.
To prevent this, you need to create another rule, before the one you already created. In this new rule, you will detect the page supported-browers.html. If found (i.e. in the Succeed Action), select "Stop Processing". So if they are ALREADY on that page, then this rule will run, and it stop and not go to the next rule that would otherwise redirect again.
Make sense?
Cheers,
Stephen
Re: [solved] The webpage has a redirect loop
Hi, for help you'll need to give some more details about what you are attempting to do, what rules you already have, and what symptoms you are seeing.
I'm going to be offline for a few days - back on Wednesday 15 Jan.
- Index
- » Chameleon / ChameleonLite
- » Chameleon
- » [solved] The webpage has a redirect loop
Board Info
- Board Stats:
- Total Topics:
- 1689
- Total Polls:
- 6
- Total Posts:
- 5944
- Posts this week:
- 2
- User Info:
- Total Users:
- 7660
- Newest User:
- marino9885
- Members Online:
- 0
- Guests Online:
- 156
- Online:
- There are no members online
Forum Legend:
Topic
New
Locked
Sticky
Active
New/Active
New/Locked
New Sticky
Locked/Active
Active/Sticky
Sticky/Locked
Sticky/Active/Locked