Post added by PHP redirects to 404 [closed]

Look at how to use Using_Permalinks in WordPress.

Set your Common Settings to Post Name and save. When you click save it should flush_rewrite_rules but you may need to do that manually.

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