SSL Breaks WordPress CSS

For the login part, this works for me … Paste the following line in your wp-config.php if ($_SERVER[‘HTTP_X_FORWARDED_PROTO’] == ‘https’) $_SERVER[‘HTTPS’]=’on’; but make sure that you do it before the following line require_once(ABSPATH . ‘wp-settings.php’); By doing so you can get your admin panel back … See details here Also to avoid getting Mixed content, … Read more

How do I disable responsive images in WP 4.4?

Here are few things you could try to remove the responsive image support in 4.4: /** * Disable responsive image support (test!) */ // Clean the up the image from wp_get_attachment_image() add_filter( ‘wp_get_attachment_image_attributes’, function( $attr ) { if( isset( $attr[‘sizes’] ) ) unset( $attr[‘sizes’] ); if( isset( $attr[‘srcset’] ) ) unset( $attr[‘srcset’] ); return $attr; … Read more

How can I fix the “No certificates found – The app Chrome has requested a certificate” Android / Google Chrome issue

The issue Some of our website users are encountering an issue when accessing secure areas of our website, on Android devices, in Google Chrome. It looks like this; I’ve been able to replicate the issue on the following devices using Browserstack’s physical device testing; Samsung Galaxy S6, Samsung Galaxy S5, Samsung Galaxy S4 (Android v5 … Read more

curl: (60) Peer’s Certificate issuer is not recognized.

Finally fixed it. Post the answer here as reference. Export company trusted root certificate with .cer extension. Somthing naming external root certificate Convert the ca file to .pem file using openssl x509 -in xxx.cer -inform der -outform pem -out xxx.pem Then on the centos 7 os: Install the ca-certificates package: yum install ca-certificates Enable the dynamic … Read more

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