WP appending -2 to the end of my slug

It might not be a Page. WordPress is very picky about slugs sometimes. You might have to dig in the database’s wp_posts table and see what other post exists somewhere with that name – sometimes it can be an odd thing like a Media Library (image) file.

Once you find it, if you completely delete it – preferably through wp-admin so all its postmeta gets deleted too – you should then be able to publish a new Page (which is also going to be in the wp_posts table) with the slug you want, without WP adding the “-2”.

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