requestrules.ini [Rule-system_url_full_view_to_alias]
The block [Rule-system_url_full_view_to_alias] of settings/requestrules.ini, with 5 setting(s).
--- Rules shipped ready to use -----------------------------------------------
Defined here and off. Switch one on for a siteaccess by adding its name to
RuleList[] there, e.g. in settings/siteaccess/site/requestrules.ini.append.php:[RequestRuleSettings]
RuleList[]=system_url_full_view_to_alias
Never edit settings/requestrules.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:
settings/override/requestrules.ini.append.phpfor every siteaccess,settings/siteaccess/<siteaccess>/requestrules.ini.append.phpfor one siteaccess,extension/<extension>/settings/requestrules.ini.append.phpin an extension (read when the extension is active).
Description
Default: A full view typed as its system URL (content/view/full/<node>) goes to the node's URL alias, unless the user has the policy content/view_system_url. Without an alias: not found..
# settings/override/requestrules.ini.append.php
[Rule-system_url_full_view_to_alias]
Description=A full view typed as its system URL (content/view/full/<node>) goes to the node's URL alias, unless the user has the policy content/view_system_url. Without an alias: not found.
*/ ?>Conditions
Default: a hash of 4: requested_via=system, module_view=content/view, view_mode=full, policy=!content/view_system_url.
# settings/override/requestrules.ini.append.php
[Rule-system_url_full_view_to_alias]
# an empty "Conditions[]" first replaces the shipped list; without it the items are added
Conditions[]
Conditions[requested_via]=system
Conditions[module_view]=content/view
Conditions[view_mode]=full
Conditions[policy]=!content/view_system_url
*/ ?>Action
Default: redirect_to_alias.
# settings/override/requestrules.ini.append.php
[Rule-system_url_full_view_to_alias]
Action=redirect_to_alias
*/ ?>ActionArgs
Default: a hash of 1: status=301.
# settings/override/requestrules.ini.append.php
[Rule-system_url_full_view_to_alias]
# an empty "ActionArgs[]" first replaces the shipped list; without it the items are added
ActionArgs[]
ActionArgs[status]=301
*/ ?>FallbackAction
Default: notfound.
# settings/override/requestrules.ini.append.php
[Rule-system_url_full_view_to_alias]
FallbackAction=notfound
*/ ?>Related
Generated by ./console exp:help:examples from settings/requestrules.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.