• Resolved l2g

    (@l2g)


    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://ww.wp.xz.cn/plugins/wp-to-twitter/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    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

    (@l2g)

    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.