ibexa

Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.

RedirectOnNormalize

Summary

Enable redirection to the normalized siteaccess

Usage

RedirectOnNormalize=disabled|enabled

Description

This setting is disabled by default.

If enabled, it will do a HTTP 301 redirect to the correct siteaccess. If you use the URL as a cache block key, caches will only be generated for the siteaccess you are redirected to.

If disabled, the page URL stays the same (like "engæøå") but the correct siteaccess (like "eng") is matched. So you get the same page as if you had typed "eng". If you use the URL as a cache block key, different caches will be generated for all requested siteaccesses (like "eng", "engæøå", "eng_", "eng__"...). Because of this, it is strongly recommended to set RedirectOnNormalize to enabled.

This setting has no effect if NormalizeSANames is disabled.

Examples

# Enabling non automatic conversion of siteaccess names
# NormalizeSANames=enabled - for backward compability (all non alpha characters are converted to underscore)
# RedirectOnNormalize=enabled - when transformation occurs, the page will hold a 301 status
NormalizeSANames=enabled
RedirectOnNormalize=disabled

Sarah Haïm-Lubczanski (28/03/2014 2:06 pm)

Sarah Haïm-Lubczanski (28/03/2014 3:12 pm)


Comments

There are no comments.