Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » Chameleon / ChameleonLite
- » Chameleon
- » Redirect joomla 1.6
Redirect joomla 1.6
Redirect joomla 1.6
Hi there,
When I use a rule in Chameleon and I want it to redirect to a certain page the redirect starts a loop and doesn't come out of it. Keeps trying to load the page. When I redirect it to Google everything works fine. So redirect inside the site doesn't work, loops endless.
Can anyone help me, its a big problem for some customers of mine.
Thank you in advance,
Bertus de Leeuw.
Re: Redirect joomla 1.6
Hi Bertus,
This is a classic sort of issue in a rule system - how to stop looping!
I imagine that the loop is caused by this sort of situation:
1 - you have a rule that detects something, e.g. a browser type
2 - that rule redirects people to a certain page on your site
3 - when they get to that page, the same rule gets triggered (and gets redirected again) causing an endless loop
So what you need to do is include a check in your rule that the person is NOT already on the target page. Or, include a rule before the rule above, that detects that the person is on the target page, and exits out of the rule system (so it never gets to the check above).
The rules therefore might look like this:
1 - detect if user is on mydomain.com/targetpage. If so, quit rule system
2 - detect if user is using IE6 [which perhaps your site does not support at all] and if so redirect to mydomain.com/targetpage
Hope that helps. If not, please provide some more info about your setup and I am sure there will be a way to do it.
Cheers,
Stephen
- Index
- » Chameleon / ChameleonLite
- » Chameleon
- » Redirect joomla 1.6
Board Info
- Board Stats:
- Total Topics:
- 1689
- Total Polls:
- 6
- Total Posts:
- 5943
- Posts this week:
- 2
- User Info:
- Total Users:
- 7642
- Newest User:
- mary26
- Members Online:
- 0
- Guests Online:
- 162
- 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