How rename wp-content and wp-admin folders correctly

To rename the wp-content and wp-admin folders in WordPress, you can use constants defined in the wp-config.php file. The following constants can be used to rename wp-content folder:

define('WP_CONTENT_FOLDERNAME', 'Folder_Name');
define('WP_CONTENT_DIR', ABSPATH . WP_CONTENT_FOLDERNAME);
define('WP_CONTENT_URL', 'http://' . $_SERVER['HTTP_HOST'] . "https://wordpress.stackexchange.com/" . WP_CONTENT_FOLDERNAME);

For wp-admin folder, renaming it using constants is not recommended as it may cause issues with WordPress core files. It is recommended to leave the wp-admin folder as is.

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