Custom post type with custom parent prefix slug

My was a mistake, I realize later that– that is the custom post types default behavior, the reason it is not working for me because something is added to my Settings -> Permalinks that adds another prefix so the permalink of my posts is /articles/%postname%/ so the output is /movies/sample-post

I just removed the /articles/ and selected Post-name in the radio button and it works now for me.

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