I might be missing something here. Whether you’re using a plain channel entry or an entry with a URL defined using the Pages module, the entry title/page name should just be:
{title}
If you want the path to the entry/page, which will be different, something like this should work:
{if page_url} {page_url} {if:else} {auto_path} {/if}
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.