• Resolved visuex

    (@visuex)


    This is not a bug report, this is a tip for others who might be experiencing issues switching from HTTP to HTTPS.

    I recently switched to HTTPS but this plugin was still loading via HTTP. I did all kinds of things to test what could be the problem and eventually I figured it out.

    This particular install of WordPress was using hardcoded permalink stuff in config.php however the database still had HTTP set. This resulted in some plugins only seeing HTTP while the main system used HTTPS.

    I removed the code from config.php and the database values were then displayed in WP Settings -> General. I changed those to HTTPS and Simple Custom CSS and JS started to work perfectly after that.

    If you are using this plugin and experience this sort of problem, check to see if your permalinks are hardcoded in config.php or not. 🙂

Viewing 1 replies (of 1 total)
  • Plugin Author SilkyPress

    (@diana_burduja)

    Small clarifications to the previous explanation:

    – by config.php he means the wp-config.php file in the root of the WordPress file directory

    – to change from HTTP to HTTPS you need to make sure the “WordPress Address (URL)” option has the correct address on the WP Admin -> Settings -> General page, as shown in this screenshot

    – if you have the “WordPress Address (URL)” option with HTTPS, but on the website the files are still loaded with HTTP, check if there is a WP_CONTENT_URL constant defined in the wp-config.php file, as this value will override the “WordPress Address (URL)” option

    – in case you have any caching plugins intalled, please purge the caches.

Viewing 1 replies (of 1 total)

The topic ‘HTTP to HTTPS Migration Issue and Solution’ is closed to new replies.