Why Canonicalization?
Dynamic sites often produce syntactically different URLs for the same page. Multiple variant URLs result in duplicate content and therefore lower natural search engine ranking. Canonicalizing your URLs reduces that duplicate content and improves search engine ranking.
Example: User navigation flow and URL's generated
Example: User navigation flow and URL's generated
Category: Appliances - Cooking - Cooktops - Electric Cooktops
Brand: GE , Electrolux
/Appliances-Cooking-Cooktops-Electric-Cooktops/Electrolux/GE/N-5yc1vZc3qaZloZarw
Category: Appliances - Cooking - Cooktops - Electric Cooktops
Brand: Electrolux, GE
/Appliances-Cooking-Cooktops-Electric-Cooktops/Electrolux/GE/N-5yc1vZc3qaZloZarw
Regardless of different navigation flow only one URL is generated due to URL canonicalization.
How to configure it in ATG Endeca integrated environment?
Configure below components in ATG.
/config/atg/endeca/url/basic/SeoUrlFormatter.properties
navStateCanonicalizer=/atg/endeca/url/basic/NavStateCanonicalizer
/config/atg/endeca/url/basic/NavStateCanonicalizer.properties
$class=com.endeca.soleng.urlformatter.seo.SeoNavStateCanonicalizer
$scope=request
$scope=request
sortByName=true
sortByDimension=true
ascending=true
ignoreCase=false
sortByDimension=true
ascending=true
ignoreCase=false