| Redirect Users to a Content Article |
|
If a user attempts to access a page that is restricted from them, by default, JUGA will redirect them to your homepage with a simple message that says "Error: Unauthorized Access". If you aren't getting the error message, then go to JUGA>>Configuration and delete your default_ce. Using a Single Article for ALL Redirects Let's say you want your users to be redirected to a friendly page that says something like:
In JUGA, we refer to this as a Custom Error page, or CE for short. To do this, first create a new content article in Joomla! Note the new content's ID number after you save it. For the sake of this HowTo, let's assume that the new article's ID number is 19. index.php?option=com_content&task=view&id=19 The URL for VIEWING that article in Joomla! 1.5.x will be:index.php?option=com_content&view=article&id=19 This is your Custom Error URL, or CE URL for short. To use this page for *every* redirect, go to JUGA>>Configuration and make the above URL your default_ce. HTH! Using Multiple Articles for Redirects Let's say you want your users to be redirected to a CE URL, but you want to use a different CE URL for different Site Items. To do this, follow the instructions above to create all the CE pages you will need. Make note of all their ID numbers.
Repeat steps 1 - 3 for each of your CE URLs! HTH! |