Plugin Support
qtwrk
(@qtwrk)
Hi,
Could you please create a php file , with code
<?php
require( './wp-load.php' );
echo 'WP CONTENT URL:' . content_url();
echo '<br>';
echo 'LSCWP URL: ' . LITESPEED_STATIC_URL;
save it at same level as your wp-config.php
access it by browser, and post output ?
Best regards,
Thanks qtwrk,
WP CONTENT URL:https://our.domain.com/wp-content
LSCWP URL: http://our.domain.com/wp-content/litespeed
CJ
We are running Litespeed v3.5.2 on WP v5.5.3
CJ
Plugin Support
qtwrk
(@qtwrk)
Hi,
now that is interesting.
could you please try this script
<?php
require( './wp-load.php' );
echo 'WP CONTENT URL:' . WP_CONTENT_URL;
echo '<br>';
echo 'LSCWP URL: ' . LITESPEED_STATIC_URL;
run twice , one with really simple SSL , one without it.
Best regards,
Without RSSSL:
WP CONTENT URL:https://our.domain.com/wp-content
LSCWP URL: https://our.domain.com/wp-content/litespeed
With RSSSL:
WP CONTENT URL:https://our.domain.com/wp-content
LSCWP URL: https://our.domain.com/wp-content/litespeed
Now everything is fine – Litespeed CSS is HTTPS. No mixed-content errors.
Very strange (I bet it’s Cloudflare’s fault)
Plugin Support
qtwrk
(@qtwrk)
Hi,
hmmmm , yeah , strange
from our code , that litespeed url is defined by
define( 'LITESPEED_STATIC_URL', WP_CONTENT_URL . '/litespeed' ) ;
so whatever scheme WP_CONTENT_URL has, it inherits.
but in your first test, WP URL gives https and LS URL gives http , that’s why I said it’s interesting
something altered somehwere I think
Best regards,
Thanks for your help in any case.
I’ll mark this as resolved … but mysterious.