Trouble with CPT Child 404

You can’t have both a page and a Custom Post type with the same slug, in your case videos. See: https://core.trac.wordpress.org/ticket/38599 for a ticket recommending this be changed in core. A few solutions:

  • Change either the page or the post type to video instead of video

  • Follow the Template Hierarchy and create a archive-videos.php with the contents of your Video page.

  • Define a unique rewrite slug in the parameters for more details, as it does not support child pages.

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