Title: WP SSL non non-secure pages: https:// =&gt; http:// change
Last modified: August 21, 2016

---

# WP SSL non non-secure pages: https:// => http:// change

 *  [fktc](https://wordpress.org/support/users/fktc/)
 * (@fktc)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/wp-ssl-non-non-secure-pages-https-http-change/)
 * Hi all,
 * my site is calling an external JavaScript through a function that calls an external
   https:// url through a sidebar text widget. “Remove Unsecure Elements” is set
   to false.
 * On pages where “Secure Post” is active, this works perfectly
    On pages where “
   Secure Post” is inactive, the plugin removes the “s” from the url and rewrites
   the URL into [http://<path&gt](http://<path&gt);, leading to a 404 response from
   the external site
 * From the debug log:
    [FIXED] Element: <script> [https://ssl.<path&gt](https://ssl.<path&gt);
   => [http://ssl.<path&gt](http://ssl.<path&gt); [END WordPress HTTPS Debug Log]
 * How can I prevent this rewriting? Any help would be greatly appreciated.
 * Thanks!
    fktc
 * [https://wordpress.org/plugins/wordpress-https/](https://wordpress.org/plugins/wordpress-https/)

The topic ‘WP SSL non non-secure pages: https:// => http:// change’ is closed to
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-https_bec2c9.svg)
 * [WordPress HTTPS (SSL)](https://wordpress.org/plugins/wordpress-https/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-https/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-https/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-https/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-https/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-https/reviews/)

## Tags

 * [external](https://wordpress.org/support/topic-tag/external/)
 * [HTTPS](https://wordpress.org/support/topic-tag/https/)
 * [SSL](https://wordpress.org/support/topic-tag/ssl/)

 * 0 replies
 * 1 participant
 * Last reply from: [fktc](https://wordpress.org/support/users/fktc/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/wp-ssl-non-non-secure-pages-https-http-change/)
 * Status: not resolved