• Resolved bard_h

    (@bard_h)


    Hi

    Searched for this for a while but cannot find any answers.

    My WordPress install with FORCE_SSL_ADMIN set to true seems to try to load a lot of files from the http site. The result is not been able to load wysiwyg buttons and media insert is broke.

    Affected files not coming from plugins in non-SSL apache log:
    /wp-includes/js/thickbox/thickbox.css
    /wp-includes/js/mediaelement/wp-mediaelement.css
    /wp-includes/js/mediaelement/mediaelementplayer.min.css
    /wp-includes/js/imgareaselect/imgareaselect.css
    /wp-includes/css/editor.min.css
    /wp-includes/js/tinymce/langs/wp-langs-en.js
    ..And 24 TinyMCE files.

    Any advice?

    In advance, thanks for all help!

    Regards
    Bard

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff

    (@macmanx)

    define('FORCE_SSL_ADMIN', true); should force everything in the admin over HTTPS, but something else might be conflicting.

    Try deactivating all plugins. If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, try switching to the Twenty Fifteen theme to rule-out a theme-specific issue (theme functions can interfere like plugins).

    Thread Starter bard_h

    (@bard_h)

    Thank You for advice James.

    Could not affect frontend of the site, so after setting up an duplicate site on the same server manually without been able to reproduce errors i reviewed the apache rewrite procedures, and there where issues with rewrite rules to ensure https for the backend in addition to the wordpress settings for this. Fixed.

    Moderator James Huff

    (@macmanx)

    Excellent, thanks for sharing your solution!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Admin over SSL loads files from non-SSL’ is closed to new replies.