WordPress website not loading

WP stores URLs in a lot of different tables. You can either use a WP CLI command to search and replace the old URL to your new local URL, or use a plugin to do the same thing.

Don’t just go do a blanket search-and-replace in phpMyAdmin or similar because the URLs are stored in serialized arrays in some places, and if the character count of the URLs differs the whole site breaks.

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