WordPress.org

Support

Support » How-To and Troubleshooting » Stylesheets only delivered via https

Stylesheets only delivered via https

  • I have just installed WordPress, and, while my server supports ssl, I do not want the stylesheets delivered over https when http is requested.

    Currently, however, whether I access the url by http or https, the header has:

    <link rel="stylesheet" href="https://mysite.org/wp-content/themes/default/style.css" type="text/css" media="screen" />

    Should it not be https only when I am using SSL?

    Thanks for any help

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m having this exact problem as well. Can anyone help me figure out why this is happening and how to have the stylesheet delivered only via http, since this has broken my site. I’m on WP 2.8.4.

    Hi,

    I just encountered the same problem; I presume that my server config somehow confuses WordPress to the effect that it failes to guess the correct URI (though I have no idea why).

    Be that as it may, you can tell WP which URI to use, see Changing the Site URL in the WP Codex. For me that fixed the problem.

    Cheers

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Stylesheets only delivered via https’ is closed to new replies.