Get the url of a page template without using the page slug and ID

Get the url of a page template without using the page slug and ID

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)