Keyword

How to Change 403 page for registered items

  • Roy Padrick
  • Roy Padrick's Avatar Topic Author
  • Offline
  • New Member
More
13 years 6 months ago #95048 by Roy Padrick
How to Change 403 page for registered items was created by Roy Padrick
So, here's the deal: I want to use iJoomla Magazine component for the site, and integrate K2 into it.

 

I have the article links correct, but there is one problem. For the articles I have set to Registered, whenever a guest clicks on the link, it goes to a 403 Page "You are not authorised to view this resource."

 

Is there any way to make that go to a registration page? If so, exactly where do I change the code?

 

Roy

 

design4.perfectchoicedesigns.com

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

More
13 years 6 months ago #95049 by Terry Britton
Replied by Terry Britton on topic How to Change 403 page for registered items
This is actually a web server issue, rather than K2 or Joomla.  See this aricle on custom 403 error pages:

www.codestyle.org/sitemanager/apache/errors-403.shtml

Just set the redirect page to be your sites registration page.

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

  • Warrick Van Den Heever
  • Warrick Van Den Heever's Avatar
  • Offline
  • New Member
More
13 years 6 months ago #95050 by Warrick Van Den Heever
Replied by Warrick Van Den Heever on topic How to Change 403 page for registered items
Please can someone help. I am having the same problem. Non logged visitors that click on a restricted article or category are shown an ugly 403 screen when they should actually be sent to login

How do you have this redirect to the login instead.

if !logged-in {then redirect to login}

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


Powered by Kunena Forum