Search Over 30,000 FREE Plugins from the Official WordPress Plugin Directory Repository

PRyC WP: Force protocol relative to uploaded media

Force protocol relative (\\ instead http:\\ or https:\\) for files added in the content editor (eg. post, page)

Force protocol relative (\ instead http:\ or https:\) for files added in the content editor (eg. post, page)

Before, when add media:

<a href="http://wordpress.org/wp-content/uploads/some-cool-photo.png"><img src="http://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="http://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).

Author PRyC
Profile
Contributors PRyCpl
Tags http, https, ssl, url, wordpress
  1. Upload pryc-wp-force-protocol-relative-to-uploaded-media dir to the /wp-content/plugins/ directory
  2. Activate the plugin through the \'Plugins\' menu in WordPress

1.0.1

  • First public ver.
Share  
Download
Version 1.0.1

Requires WordPress version: 3.0.1 or higher

Compatible up to: 4.6.3

Last Updated 30 Aug 2016

Date Added: 16 Jul 2016

Evaluation
star1
star2
star3
star4
star5

0 stars
0 ratings
141 downloads

Compatibility

Not Enough Data

Reports:
Works: 0
Broken: 0