Different results between permalink and query var search

If you don’t want to search custom post types at all, you can add

'exclude_from_search' => true

to your registration args.

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