WordPress.org

Ready to get started?Download WordPress

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 1 year 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 1 year 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

About this Topic

Tags

No tags yet.