Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » Chameleon / ChameleonLite
- » Chameleon
- » Limit access to a page based on entry...
Limit access to a page based on entry point??
Limit access to a page based on entry point??
let's say I created a splash page to collect email addresses that then redirects the guest to a nice downloadable giveaway. I do not want that lucky guest to share that downloadable giveaway with friends and on Facebook so is it possible to say that if this page loads at all the guest has to come from that specific splash page or they are shown a "Slow down cowboy and enter your details for this cool download" or even just redirected back to the splash page??
Re: Limit access to a page based on entry point??
Sure, that should be easy to do. You can detect the "Referrer" of the currrent page.
So make a rule that checks for 2 things:
1 - the URL of the page that you are targetting. Make sure you detect this as "starts with", otherwise people can get around it by adding things onto the end of the URL.
2 - the Referrer. This is the URL that you want to enforce. Set this as "does not equal", and set the exact URL of the referring page. You might want to check whether the referring page is only available on 1 URL or if it might have other URLs too.
Then in the Succeed action, set the redirect back to the splash page.
So what's happening is that Chameleon looks for an exact combination of factors: that the person is landing on the giveaway page AND they did NOT come from the splash page. If that combination is found, you immediately redirect them back to the splash page.
Simple and very effective.
Hope that helps,
Stephen
- Index
- » Chameleon / ChameleonLite
- » Chameleon
- » Limit access to a page based on entry...
Board Info
- Board Stats:
- Total Topics:
- 1689
- Total Polls:
- 6
- Total Posts:
- 5943
- Total Posts Today:
- 1
- User Info:
- Total Users:
- 7638
- Newest User:
- moner86658
- Members Online:
- 0
- Guests Online:
- 125
- 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