Remove “attachment/” from the URL of attachment pages

Don’t include %category% anywhere in your custom permalink string, then it won’t need the
“attachment” text. Also, don’t use numeric slugs for the page/post name. Same basic problem occurs there.

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