Title: [Plugin: WordPress HTTPS (SSL)] Feature: Use relative (//) urls
Last modified: August 20, 2016

---

# [Plugin: WordPress HTTPS (SSL)] Feature: Use relative (//) urls

 *  [boyska](https://wordpress.org/support/users/boyska/)
 * (@boyska)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-feature-use-relative-urls/)
 * WP HTTPS works great in doing what he promises to: converting any link to absolute.
   
   However, sometimes it could be better to have “relative” schema: that is, replacing
   http:// or https:// with just “//” This will make links much more stable: across
   domain-moving and caching (the same page can be cached for both http and https
   with no issue).
 * I am concerned about this for caching optimization, indeed: I am setting up a
   varnish proxy in front of wordpress, and I’d like being able to serve the same
   cached object both for http requests and https requests.
    This seems quite easy
   to do: just some change in replace_http_url and replace_https_url.
 * If you are _really_ willing to accept patches about this, I’ll consider writing
   a patch.
 * [http://wordpress.org/extend/plugins/wordpress-https/](http://wordpress.org/extend/plugins/wordpress-https/)

The topic ‘[Plugin: WordPress HTTPS (SSL)] Feature: Use relative (//) urls’ 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/)

 * 0 replies
 * 1 participant
 * Last reply from: [boyska](https://wordpress.org/support/users/boyska/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-feature-use-relative-urls/)
 * Status: not resolved