Hey Peter Mogilnitski, Thanks for the reply. I tried that and it gives me the full url of the document but I have one layout that is dynamically being shared across a bunch of alias' so that absolute url gives me the same url for all those different pages.
I have a DM_Layout -> A bunch of different pages that dynamically gets posted and renders a new page using an alias.
So I would need that full alias page instead of just the absolute URL.
The Absolute URL just gives me http://sitename/dm-pages/dm_games/" for every dynamic page.
Hope I've explained that well enough :/
Kind Regards
Dominic