Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

RedirectURL

Summary

A list of error codes and the url for redirection.

Usage

RedirectURL[<error_code>]=<url>

Description

This setting sets which url will be used for redirection, for each eZ Publish error code.
It considers the error code as index and the url as value.

The following error codes for kernel are currently defined, and the same ones apply to shop:

  • 1 - Access denied
  • 2 - Object not found
  • 3 - Object not available
  • 4 - Object has moved
  • 20 - Module not found
  • 21 - Module view not found
  • 22 - Module or view disabled
  • 50 - No DB connection

This setting overrides DefaultRedirectURL.

Examples

RedirectURL[1]=/user/login

Ricardo Correia (30/07/2013 1:46 pm)

Ricardo Correia (30/07/2013 2:21 pm)


Comments

There are no comments.