Configuring the vanity URL preview link | HCL Digital Experience
The user interface for managing vanity URLs has a preview link. By default, this link shows the full vanity URL. If you installed an HTTP server and configured it to allow short vanity URLs, you can configure the preview link to show the short vanity URL instead.
About this task
http://hostname/wps/vanityurl/shoe-sale
If
you installed an HTTP server and configured it to allow short vanity
URLs, you can configure the preview link to point to the HTTP server
instead. It then shows the short vanity URL, for example as follows:http://hostname/shoe-sale
You
switch between these two options by using the appropriate portal configuration
tasks:- If you want the preview link to point to the HTTP server, run
the portal configuration task
enable-vanityurl-httpserver-preview
. - If you want the link to go to the vanity servlet and show the
full vanity URL, run the portal configuration task
disable-vanityurl-httpserver-preview
. This setting is the default.
- AIX®
- ./ConfigEngine.sh enable-vanityurl-httpserver-preview -DPortalAdminPwd=password -DWasPassword=password
- HP-UX
- ./ConfigEngine.sh enable-vanityurl-httpserver-preview -DPortalAdminPwd=password -DWasPassword=password
- IBM® i
- ConfigEngine.sh enable-vanityurl-httpserver-preview -DPortalAdminPwd=password -DWasPassword=password
- Linux™
- ./ConfigEngine.sh enable-vanityurl-httpserver-preview -DPortalAdminPwd=password -DWasPassword=password
- Solaris
- ./ConfigEngine.sh enable-vanityurl-httpserver-preview -DPortalAdminPwd=password -DWasPassword=password
- Windows™
- ConfigEngine.bat enable-vanityurl-httpserver-preview -DPortalAdminPwd=password -DWasPassword=password
- z/OS®
- ./ConfigEngine.sh enable-vanityurl-httpserver-preview -DPortalAdminPwd=password -DWasPassword=password