How to exclude a page?

  • Isaac Marcum
  • Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 10 months ago #1 by Isaac Marcum
How to exclude a page? was created by Isaac Marcum
I have a website where I have a landing page that says a little about the website and then a log in feature.

I am using RegisteredOnly to make sure they are all logged in to see the other pages. I want to redirect people to the landing page if not logged in to then fill out the forum.

I set the redirect to this page but I am getting a redirect loop. How can I exclude the landing page from the redirect?

Thanks this would help a lot,
Isaac



P.S. What the page says

The webpage at designerbrandgallery.com/index.php 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 web page later.
Learn more about this problem.

Please Log in or Create an account to join the conversation.

More
14 years 10 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic Re: How to exclude a page?
Hi.

At the moment, there is not a feature in the plugin for exluding pages.

Easiest way to go about it right now would be to hack the code, and where it says*:

$mainframe->redirect(JURI::base ().'index.php?option=com_user&view=login');

Change by your landing page URL.

Assuming you are NOT using CB.

Please Log in or Create an account to join the conversation.