Duplicate page for locale pages while using sling:alias property
We have locale specific pages and we are using sling:alias property to have language specific page name . But the problem is both the urls are publicly accessible : 1) with sling:alias name 2) with original page name.
Example :
page is /content/brand/de/home.html
-> This home page node has been set a sling:alias property of "zuhause"
Ideally end user should be seeing the page URL : /content/brand/de/zuhause.html
But currently both the urls are serving the content : /content/brand/de/home.html and /content/brand/de/zuhause.html
How to block the original page url and serve only the locale specific (with sling:alias) url ?