Really Simple SSL

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

One Response

  1. I was getting a 404javascript.js error when using Sucuri Site Scanner. Once I read this post and flipped that switch, the error went away. Thanks!

Leave a Reply


Meet Really Simple SSL 4

A whole new experience