Title: [Plugin: WordPress HTTPS (SSL)] Preview Broken
Last modified: August 20, 2016

---

# [Plugin: WordPress HTTPS (SSL)] Preview Broken

 *  [jspurling](https://wordpress.org/support/users/jspurling/)
 * (@jspurling)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-plugin-wordpress-https-breaks-preview/)
 * The preview button on posts and pages breaks whenever I activate the WordPress
   HTTPS plugin. It works again on deactivating. The error received is:
 * > “You do not have permission to preview drafts.”
 * [http://wordpress.org/extend/plugins/wordpress-https/](http://wordpress.org/extend/plugins/wordpress-https/)

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

 *  Plugin Author [mvied](https://wordpress.org/support/users/mvied/)
 * (@mvied)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-plugin-wordpress-https-breaks-preview/#post-2340966)
 * Hey jspurling,
 * That makes no sense at all. If you’d like I can take a look at it. You can create
   an admin user for mike[at]mvied[dot]com and I’ll take a look at it.
 * Thanks,
    Mike
 *  Thread Starter [jspurling](https://wordpress.org/support/users/jspurling/)
 * (@jspurling)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-plugin-wordpress-https-breaks-preview/#post-2341086)
 * Hi Mike,
 * I’d rather not create other admin accounts to be honest as it is a client site.
   The url is: [http://pancreaticcanceraction.org/](http://pancreaticcanceraction.org/)
   I’ve gone as far as disabling all plugins only to enable your plugin and have
   confirmed the issue is definitely with the plugin.
 * Is there any particular information about the server or WordPress configuration
   you need to know?
 *  Plugin Author [mvied](https://wordpress.org/support/users/mvied/)
 * (@mvied)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-plugin-wordpress-https-breaks-preview/#post-2341193)
 * Hey jspurling,
 * I’m thinking that you’re logged into HTTP in your admin panel, and your preview
   link is going to HTTPS where you are not logged in. See if that’s the problem.
 * Thanks,
    Mike
 *  Thread Starter [jspurling](https://wordpress.org/support/users/jspurling/)
 * (@jspurling)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-plugin-wordpress-https-breaks-preview/#post-2341273)
 * Hi Mike,
 * Almost right… I’m using HTTPS throughout admin but only on a few pages on the
   frontend. Preview works fine for those pages which also use HTTPS on frontend.
   Does this help with working out a solution?
 * Thanks for your quick responses!
 *  Plugin Author [mvied](https://wordpress.org/support/users/mvied/)
 * (@mvied)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-plugin-wordpress-https-breaks-preview/#post-2341277)
 * Hey jspurling,
 * Yes, in 1.9.2 when you log into HTTPS, you are not logged into HTTP at the same
   time. This is fixed in 2.0. If you happened to be logged in through HTTP, the
   preview would most likely work.
 * If you’d like, you can try the development version here [http://downloads.wordpress.org/plugin/wordpress-https.2.0.zip](http://downloads.wordpress.org/plugin/wordpress-https.2.0.zip).
 * Thanks,
    Mike
 *  Thread Starter [jspurling](https://wordpress.org/support/users/jspurling/)
 * (@jspurling)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-plugin-wordpress-https-breaks-preview/#post-2341288)
 * On first attempt this does not appear to have fixed the problem. Although the‘
   Force SSL Administration’ box is unchecked in settings and when I try and check
   it I receive the following message:
 * > SSL Admin – FORCE_SSL_ADMIN and FORCE_SSL_LOGIN can not be set to true in your
   > wp-config.php
 * When I look into wp-config I can see:
    `define('FORCE_SSL_ADMIN', true); define('
   FORCE_SSL_LOGIN', true);
 * I think I perhaps set these manually a while back. Any more ideas? Thanks again
   for your help.
 *  Thread Starter [jspurling](https://wordpress.org/support/users/jspurling/)
 * (@jspurling)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-plugin-wordpress-https-breaks-preview/#post-2341295)
 * I solved the SSL admin error by removing the rules from wp-config manually and
   then enabling through the plugin settings. However, the original problem still
   exists where previewing non-secure pages through a secure admin brings up “”You
   do not have permission to preview drafts.”.
 *  Plugin Author [mvied](https://wordpress.org/support/users/mvied/)
 * (@mvied)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-plugin-wordpress-https-breaks-preview/#post-2341335)
 * Hey jspurling,
 * Yes, like I said before, in 1.9.2 when you log into HTTPS, you are not logged
   into HTTP at the same time. This is fixed in 2.0, which will be released shortly.
 * Thanks,
    Mike
 *  Thread Starter [jspurling](https://wordpress.org/support/users/jspurling/)
 * (@jspurling)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-plugin-wordpress-https-breaks-preview/#post-2341351)
 * Hi Mike, Sorry I didn’t mention that since you gave me the link I have been using
   2.0 dev but with no luck I’m afraid. Is there any more information I can provide
   you with?
 *  Plugin Author [mvied](https://wordpress.org/support/users/mvied/)
 * (@mvied)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-plugin-wordpress-https-breaks-preview/#post-2341354)
 * Hey jspurling,
 * When you log in via HTTPS, do you get the admin bar on HTTP pages on the public
   portion of your site?
 * Thanks,
    Mike
 *  Thread Starter [jspurling](https://wordpress.org/support/users/jspurling/)
 * (@jspurling)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-plugin-wordpress-https-breaks-preview/#post-2341362)
 * Hi Mike, I do not.
 *  Plugin Author [mvied](https://wordpress.org/support/users/mvied/)
 * (@mvied)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-plugin-wordpress-https-breaks-preview/#post-2341363)
 * Hey jspurling,
 * In that case, I can’t really know what’s wrong without looking at it myself. 
   That functionality works in my development environment as well as the few sites
   I’ve tested the plugin on.
 * Thanks,
    Mike

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

The topic ‘[Plugin: WordPress HTTPS (SSL)] Preview Broken’ is closed to new replies.

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

 * 12 replies
 * 2 participants
 * Last reply from: [mvied](https://wordpress.org/support/users/mvied/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-plugin-wordpress-https-breaks-preview/#post-2341363)
 * Status: not resolved