The easiest way to get the HTTP/HTTPS version of any URL.
Use the simple
[http-url] shortcode to convert any URL to either HTTP or HTTPS.
By default the
[http-url] shortcode will output the URL of the current post converted to HTTP. Note: must be used within the loop.
url - manually specify the URL to be converted (can be used outside the loop):
to_https - convert URL to HTTPS, instead of to HTTP:
HTTP URLs also provides two functions that can be used in your php:
hu_get_http_url( $url ); // Returns URL converted to HTTP hu_get_https_url( $url ); // Returns URL converted to HTTPS
The most common case for using this plugin is in conjunction with social media sharing/commenting plugins, in which data is tied to a specific URL. On sites that are visible via both HTTP and HTTPS, this means that two different sets of differing data are created for every page. HTTP URLs provides a handy solution to this common problem. Learn More →
Requires: 3.0 or higher
Compatible up to: 3.9.9
Last Updated: 2014-5-12
Active Installs: 60+
1 of 1 support threads in the last two months have been resolved.
Got something to say? Need help?