Paskutinį kartą atnaujinta
2021-05-20
|
Taip pat taikoma Communiqué
You would like to condense your URL for various reasons (user-friendly, and so on). For example, you have a page structure
/content/Small_Businesses/Innovation/www.IamAnInnovationCompany.com/English,
and you want to use a vanity URL for the end user.
There are three ways to configure a vanity URL:
- Use the link checker configuration file http://docs.day.com/en/home/communique_4/cq42/setup/configuration/system_behavior/setting_a_virtual.html.
- Create a symlink to the target-page on the top level. This option is comparable with a symlink in UNIX, the new URL stays as-is. For example, your target page handle is
/content/Small_Businesses/Innovation/www.IamAnInnovationCompany.com/English
. If you create a symlink on the top level, the handle of the symlink becomes/content/apage
. - Create a page of type "redirect." (You can find an example in designground redirect template) and configure the target handle. This option is a simple redirect to the configured target handle. The URL for the end user could still be
/content/apage
, but upon request of the URL the user, is redirected to the target page.