Puzzled at HTTP/2 301 response header

It might be that WordPress is just redirecting to the version with trailing slash. /cart => /cart/ /shop => /shop/ I’m having trouble, finding a good canonical source why WP is doing this. The fact is, that most web frameworks (I worked with) will force trailing slashes on their routes (that are not directed at … Read more

Does fixing PHP notices improves website performance?

It’s worth doing so, though performance isn’t always going to improve, notices are usually a sign of broken-ness or bad code. In the example you cited, there’s actually a mistake made and a potential security issue: $geolocation = esc_sql($_COOKIE[‘geolocation’]); the code assumes there’s cookies, and that a geolocation cookie is present it uses esc_sql which … Read more

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