Title: [Plugin: WordPress Post Tabs] http vs https, plugin breaks &#8212; a fix
Last modified: August 20, 2016

---

# [Plugin: WordPress Post Tabs] http vs https, plugin breaks — a fix

 *  [Benjamin Uzelac](https://wordpress.org/support/users/uzegonemad/)
 * (@uzegonemad)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-wordpress-post-tabs-http-vs-https-plugin-breaks-a-fix/)
 * This plugin hardcodes [http://](https://wordpress.org/support/topic/plugin-wordpress-post-tabs-http-vs-https-plugin-breaks-a-fix/?output_format=md),
   but I (and likely others) use HTTPS/SSL. This might cause the plugin not to function
   due to browser security policies.
 * To fix…
 * Go to line 236:
    $pageurl=”[http://&#8221](http://&#8221); . $_SERVER[‘HTTP_HOST’].
   $_SERVER[‘REQUEST_URI’];
 * And replace it with this:
    $pageurl = (isset($_SERVER[‘HTTPS’]) || $_SERVER[‘
   PORT’] == 443 ? ‘https’ : ‘http’).”://” . $_SERVER[‘HTTP_HOST’] . $_SERVER[‘REQUEST_URI’];
 * [http://wordpress.org/extend/plugins/wordpress-post-tabs/](http://wordpress.org/extend/plugins/wordpress-post-tabs/)

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

 *  [thedesignwerks](https://wordpress.org/support/users/thedesignwerks/)
 * (@thedesignwerks)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-wordpress-post-tabs-http-vs-https-plugin-breaks-a-fix/#post-3057982)
 * Thank you for posting! I was having the same problem.
 *  [rbraddy@softnas.com](https://wordpress.org/support/users/rbraddysoftnascom/)
 * (@rbraddysoftnascom)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-wordpress-post-tabs-http-vs-https-plugin-breaks-a-fix/#post-3058059)
 * Thanks for the workaround.
 * Will you be including this fix in the next update of the plug-in, so we don’t
   accidentally overwrite the change?
 * Rick
 *  [petarc](https://wordpress.org/support/users/petarc/)
 * (@petarc)
 * [13 years ago](https://wordpress.org/support/topic/plugin-wordpress-post-tabs-http-vs-https-plugin-breaks-a-fix/#post-3058061)
 * legend – thank you
 *  [tabbervilla](https://wordpress.org/support/users/tabbervilla/)
 * (@tabbervilla)
 * [13 years ago](https://wordpress.org/support/topic/plugin-wordpress-post-tabs-http-vs-https-plugin-breaks-a-fix/#post-3058062)
 * We have released the PRO version with this fix and the next update of Free version
   will come with the fix as well. The next update is scheduled to release in next
   few days.

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

The topic ‘[Plugin: WordPress Post Tabs] http vs https, plugin breaks — a fix’ is
closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-post-tabs_ffffff.svg)
 * [WordPress Post Tabs](https://wordpress.org/plugins/wordpress-post-tabs/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-post-tabs/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-post-tabs/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-post-tabs/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-post-tabs/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-post-tabs/reviews/)

 * 4 replies
 * 5 participants
 * Last reply from: [tabbervilla](https://wordpress.org/support/users/tabbervilla/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/plugin-wordpress-post-tabs-http-vs-https-plugin-breaks-a-fix/#post-3058062)
 * Status: not resolved