wordpress changing host breaks image links

The images were all in the same location as the original server, when you clicked on them, they load, though they display a broken link. I gave in and transferred it to a namecheap account (the VPS is just used for testing and development, if it worked, yay, if not, no big loss) everything seems … Read more

Mixed Content warnings google fonts

Search the place in your theme where you’re including the google fonts script, and remove the leading part http: , at the beginning of google fonts api url. The part you’re going to leave should look like //fonts.googleapis.com/css?family= and so on (leave what is after family but nothing before // ) Make a search replace … Read more

how to update link on live site from test site

It’s a very common issue when migrating to a different domain. Try one of the two options: 1. Backend: execute a SQL query Go into your database (phpMyAdmin) and execute the following SQL query: UPDATE wp_options SET option_value = replace(option_value, ‘OLD_URL’, ‘NEW_URL’) WHERE option_name=”home” OR option_name=”siteurl”; UPDATE wp_posts SET guid = replace(guid, ‘OLD_URL’,’NEW_URL’); UPDATE wp_posts … Read more

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