Enabling region identification in HCL Portal | HCL Digital Experience
You can use geographic targeting tools to associate a URL pattern with a specific region. However not all URL patterns are typically supported.
About this task
www.XYZ-Co.com/products/information/?article=ABC123?country=UK
. The following
options are supported: - Subdomains with generic domains, such as
de.XYZ-Co.com
- sub-directories with generic domains, for example
www.XYZ-Co.com/es/...
Procedure
-
The first option is based on the assumption that the site is split up at a certain
point to reflect the different regions or countries. A typical scenario can be either an
online shop or a product overview specific to the countries in which a company operates.
Example URLs might then look as follows:
- For the US:
http://www.xyz-co.com/home/products/us/
- For France:
http://www.xyz-co.com/home/products/fr/
- For Italy:
http://www.xyz-co.com/home/products/it/
home
products
This has three region specifics pages:us
,fr
, andit
.
- For the US:
-
The second option has the same first two levels in its page hierarchy as the first:
home
andproducts
. The products page renders the content based on user selection or preference. Then Web Content Manager delivers the content for the chosen country. The association of a web page with a set of content items in the Web Content Manager library is done by using site areas. The names of the site areas represent the country codes. Three portal "content" pages are added to theproducts
page associated with the site areas. In the example, this adds three region-specific portal pages that are associated with the site areasus
,fr
andit
.For more information, about friendly URLs see the topics about friendly URLs.