WordPress.org

Ready to get started?Download WordPress

Forums

Stylesheets only delivered via https (3 posts)

  1. jdbow75
    Member
    Posted 5 years ago #

    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

  2. BrentN
    Member
    Posted 4 years ago #

    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.

  3. jpod
    Member
    Posted 4 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic