Adding query string parameters to URL with same name as custom post type gives 404 error

Sorry for answering my own question, but I figured it out.

When calling the register_post_type function, the arguments array should set the 'query_var' property to false.

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