How to change the URL using rewrite rule in wordpress

The problem is that id is no longer a $_GET variable, and is instead a WP query variable, so use the get_query_var function instead

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