Check the type of auth cookie. If it is https and secured then , cross domain, it won't be visible to client side scripts (js), but would be sever side.
Still no luck with get resource as well.String shortURL =resourceResolver.map("/content/myapp/en_us/home");Resource res = resourceResolver.getResource(shortURL);resource object is still null.
So I am using etc map to shorten URL's and can get the short URL for a given path by -shortURLPath=resourceResolver.map(pageUrlPath);Now that I want to get the original URL back, I tried - resourceResolver.resolve(shortUrlPath);But this returns "NonExistingResource". I recall doing this on versions ...
You can also mark the links as valid by using x-cq-linkchecker=“valid”property in your <a> tag. In this case Link Checker will check the link but always mark as valid.If you also use x-cq-linkchecker=“skip”, Link checker will not check the link and mark as valid.After updating the code you would hav...