Configuration of sling:alias
Hello,
I have a question, I’m currently testing sling:alias because I need to replace some URLs. My question is, when using sling:alias, will the resource resolver automatically return only the paths with the alias? Or will the original path still be valid?
What I ultimately need is, if my original path is /content/testing and my alias is /content/testing-alias, I want /content/testing to return a 404 when entering the URL, and only be accessible through /content/testing-alias.
I'm asking because someone told me that the normal behavior of the resource resolver is to always return the path with the alias and not the original path, so I’m not sure if that’s true, or if I have an older version that prevents me from seeing this behavior.