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.

WordSeparator

Summary

Sets which word separator that should be used in the URLs.

Usage

 

WordSeparator=dash|underscore|space

Description

This directive controls which word separator that should be used in the URLs. The default value is "dash", which means that system will use dashes as word separators in virtual URLs (e.g. "www.example.com/about-us"). It is also possible to specify "space" or "underscore" so that the system will use spaces or underscores as word separators. However, if the "TransformationGroup" directive is set to "urlalias_compat" (which is the old, pre-eZ Publish 3.10 URL transformation method), the system will ignore the "WordSeparator" setting and use underscores as separators.

Make sure you specify the same "WordSeparator" value for all siteaccesses that share the same database.

Every time this setting is changed, the "bin/php/updateniceurls.php" script must be run in order to update existing URL aliases. Refer to "TransformationGroup" for information about how to run the script.

Julia Shymova (26/07/2007 2:37 pm)

Svitlana Shatokhina (19/02/2008 1:27 pm)

Julia Shymova, Balazs Halasy, Svitlana Shatokhina


Comments

There are no comments.