Error on AMP page
-
Hi author, your plugin is good but it makes error on AMP page. Can you help me to fix it.
public function force_ssl_with_javascript() { ?> <script> if (document.location.protocol != "https:") { document.location = document.URL.replace(/^http:/i, "https:"); } </script> <?php }The page I need help with: [log in to see the link]
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
The topic ‘Error on AMP page’ is closed to new replies.