structure of posts and pages

You can configure that in admin panel. Just go »Dashboard > Settings > Permalink« settings.

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