Title: convert https to http on tweet
Last modified: August 31, 2016

---

# convert https to http on tweet

 *  Resolved [l2g](https://wordpress.org/support/users/l2g/)
 * (@l2g)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/convert-https-to-http-on-tweet/)
 * I love your plugin, great job! My question is if it’s possible to always post
   the url using http (even though I’m logged in securely as https).
 * I use a private self signed key to log into my site, but don’t host it publicly
   as so. But since I’m using a secure connection when I create my post (and press
   _Publish_ posts this way), your plugin creates the URL link on the tweet with
   https protocol prefix.
 * In short: would it be a big deal to enforce an **http://** (always) in tweeting
   url as an option?
 * Chris
 * [https://wordpress.org/plugins/wp-to-twitter/](https://wordpress.org/plugins/wp-to-twitter/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Joe Dolson](https://wordpress.org/support/users/joedolson/)
 * (@joedolson)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/convert-https-to-http-on-tweet/#post-7306469)
 * No, that wouldn’t be a big deal. You could use the filter ‘wpt_shorten_link’ 
   to prefilter the link (before shortening) that gets sent to Twitter. All you’d
   need to do is replace ‘https’ with ‘http’ using `str_replace`.
 *  Thread Starter [l2g](https://wordpress.org/support/users/l2g/)
 * (@l2g)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/convert-https-to-http-on-tweet/#post-7306476)
 * Great!
 * You can close this ticket (unless you want to make it a feature!) 🙂
 * Either way, I’m satisfied and have patched it according to your advice.
 * Thanks for your speedy reply!
 * Chris

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘convert https to http on tweet’ is closed to new replies.

 * ![](https://ps.w.org/wp-to-twitter/assets/icon-256x256.png?rev=2997308)
 * [XPoster - Share to Bluesky and Mastodon](https://wordpress.org/plugins/wp-to-twitter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-to-twitter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-to-twitter/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-to-twitter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-to-twitter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-to-twitter/reviews/)

## Tags

 * [HTTP](https://wordpress.org/support/topic-tag/http/)
 * [HTTPS](https://wordpress.org/support/topic-tag/https/)

 * 2 replies
 * 2 participants
 * Last reply from: [l2g](https://wordpress.org/support/users/l2g/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/convert-https-to-http-on-tweet/#post-7306476)
 * Status: resolved