As of April 2026, PRyC WP: Force protocol relative to uploaded media is a WordPress ssl plugin with 10 active installations and a 0/5 rating0. It has been downloaded 1.5K+ times in total. Requires WordPress 3.0.1+ and PHP false+. Available on WordPress.org since 2016. Last updated 2 years ago — may have compatibility concerns. Top alternative: Cloudflare.
Force protocol relative (\ instead http:\ or https:\) for files added in the content editor (eg. post, page)
Before, when add media:
<a href="https://wordpress.org/wp-content/uploads/some-cool-photo.png"><img src="https://wordpress.org/wp-content/uploads/some-cool-photo.png" alt="Some cool photo" width="1920" height="1410" class="aligncenter size-full wp-image-19200813" /></a>
After, when add media:
<a href="//wordpress.org/wp-content/uploads/some-cool-photo.png"><img src="https://wordpress.org/wp-content/uploads/some-cool-photo.png" alt="Some cool photo" width="1920" height="1410" class="aligncenter size-full wp-image-19200813" /></a>
The plugin works only for newly added media (does not change the older entries).
| WordPress | 3.0.1+ requiredTested up to 6.2.9 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.