Getting 404 when using rewrite rule for posts

There are a number of reserved post type names in WordPress that you can’t overwrite. They can be found on the codex:

https://codex.wordpress.org/Function_Reference/register_post_type

‘post’ is one of them.

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