How to disable monthly archive

Check this post by BetterWP. You may need to edit the code as it does not mention about monthly archives.

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