Welcome to the MetaMod and Chameleon Support Forums.

Before posting, please check out the FAQs.

helpme

 

Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.

 

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.

bertusdeleeuw
Beginner Modder
ranks
useravatar
Offline
1 Posts
Administrator has disabled public posting

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

Stephen Brandon
MetaMod / Chameleon developer
If you use MetaMod or Chameleon, please post a rating and a review at the Joomla! Extensions Directory: Chameleon | MetaMod

metamodguy
useravatar
Offline
3329 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1698
Total Polls:
6
Total Posts:
5944
Posts this week:
4
User Info:
 
Total Users:
5543
Newest User:
aj88
Members Online:
0
Guests Online:
129

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