WordPress.org

Forums

WordPress HTTPS (SSL)
Is there a way to check if the page is set to be secure with code? (2 posts)

  1. jgclifton
    Member
    Posted 2 years ago #

    Slightly confusing title, but does this have a variable which can be checked to see if the page is meant to be being served as secure?

    My use for this is to basically say if page isn't secure, serve webfont from http (faster), if it is a secure page then serve it from htts.

    http://wordpress.org/extend/plugins/wordpress-https/

  2. Pothi
    Member
    Posted 2 years ago #

    How do you load webfont? Depending on the code that loads the webfont, you may want to use is_ssl (ref: http://codex.wordpress.org/Function_Reference/is_ssl) to see, if you can load non-ssl version of the CSS that loads the webfonts.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress HTTPS (SSL)
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.