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 fix the ‘no response from webpage’ warning

    Really Simple SSL checks if there is a valid SSL certificate, and if it can find the marker from the mixed content fixer in the html of your website. In...
  • The settings page says redirect could not be set in the .htaccess

    Your site can run on ssl without any issues. The plugin also adds some javascript to redirect any non https pages, so your site should load over https without any...
  • 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...
  • 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