What is the best way to figure out which template file that a “pretty permalink” is using?

The pages are generated dynamically from a php template in the theme directory. All single posts would use single.php (or single-[post-type].php if the theme supports it).

Page templates would be page.php (or page-[page name].php or page-[id].php)

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