Hey, I am getting a url for the current page by saying CurrentDocument.AbsoluteURL
In my default language it gives me https://www.URL.com
In all my other languages it is only giving me http://URL.com . So their is no https or www.
Any idea why this would be happening ?
it's because CurrentDocument.AbsoluteURL is getting protocol, domain from the current request.
if you enter the page from http://URL.com you will see the same in macro, but if you enter the page from https://URL.com you will see the same.
As addition you could enforce https for (all) pages by updating the security settings tab on the Root page:
By default all lower pages have this setting set to inherit from parent.
For the domain prefix you could update the "process domain prefix" setting to always use one or the other:
Please, sign in to be able to submit a new answer.