Warnings & Errormessages

Amp javascript warning with Really Simple SSL

If your site uses AMP (accelerated mobile pages) in combination with Really Simple SSL, you might encounter an error regarding javascript in the head of the website.

If you see this error, you have the option “javascript redirect to SSL” enabled in settings/ssl.

The solution is simple: just deactivate this redirect, and the inline script is gone.

The javascript redirect is actually a fallback redirect, which in most cases should not be used anyway. The WP redirect or .htaccess redirect are the recommended way of redirection, of which I prefer the .htaccess redirect. It’s the fastest and most reliable one.

Related Articles

  • How to track down mixed content or insecure content

    If you do not see the green lock in your browser address bar, you still have mixed content. It is very important that this is fixed, because browsers will throw...
  • err_ssl_protocol_error

    err_ssl_protocol_error The err_ssl_protocol_error is usually caused by a failure to securely communicate with the server and often has to do with the server configuration. For any SSL related error there...
  • Upgrade Network issue on multisite

    Frido mentioned to me there seems to be an issue with Multisite if you use both http and https sites. The issue occurs when you do a network upgrade. The...
  • Website not accessible with SSL

    If you cannot access your website, but do not have redirect loop errors, your SSL certificate might be invalid. Normally Really Simple SSL checks if ssl is available, and only...

Leave a Comment