Title: HTTP to HTTPS Migration Issue and Solution
Last modified: August 14, 2018

---

# HTTP to HTTPS Migration Issue and Solution

 *  Resolved [visuex](https://wordpress.org/support/users/visuex/)
 * (@visuex)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/http-to-https-migration-issue-and-solution/)
 * 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](https://wordpress.org/support/users/diana_burduja/)
 * (@diana_burduja)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/http-to-https-migration-issue-and-solution/#post-10592809)
 * 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](https://www.silkypress.com/wp-content/uploads/2016/12/ccj-siteurl.png)
 * – 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](https://codex.wordpress.org/Editing%20wp-config.php)
   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.

 * ![](https://ps.w.org/custom-css-js/assets/icon-128x128.png?rev=1303730)
 * [Simple Custom CSS and JS](https://wordpress.org/plugins/custom-css-js/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-css-js/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-css-js/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-css-js/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-css-js/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-css-js/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [SilkyPress](https://wordpress.org/support/users/diana_burduja/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/http-to-https-migration-issue-and-solution/#post-10592809)
 * Status: resolved