Title: When using https for site, no https for CSS and JS, and admin doesn&#8217;t connect
Last modified: February 4, 2019

---

# When using https for site, no https for CSS and JS, and admin doesn’t connect

 *  [jtumper](https://wordpress.org/support/users/jtumper/)
 * (@jtumper)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/when-using-https-for-site-no-https-for-css-and-js-and-admin-doesnt-connect/)
 * So I recently, built and LAMP server and installed wordpress on it. I connected
   it to the web via a reverse ssh tunnel using serveo.net. I decided to add ssl
   and the rest of the website seem to work fine, but wordpress keeps breaking when
   I try to use ssl. I went to the general settings and changed the urls to http
   instead of https, but when I load the pages, in the source code the css and js
   urls are using http instead of https, so they won’t load. Then wp-admin part 
   won’t even load. How do I fix this? I’ve looked at quite a few posts about people
   having similar problems, but none of them helped.
    I’m using the default theme.
   twentynieteen.
    -  This topic was modified 7 years, 4 months ago by [jtumper](https://wordpress.org/support/users/jtumper/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwhen-using-https-for-site-no-https-for-css-and-js-and-admin-doesnt-connect%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/when-using-https-for-site-no-https-for-css-and-js-and-admin-doesnt-connect/#post-11164736)
 * Install the plugin [Better Search And Replace](https://wordpress.org/plugins/better-search-replace/).
   Search for [http://example.com](http://example.com) and replace with [https://example.com](https://example.com)
 * Also try reviewing this help guide: [https://www.wpbeginner.com/plugins/how-to-fix-the-mixed-content-error-in-wordpress-step-by-step/](https://www.wpbeginner.com/plugins/how-to-fix-the-mixed-content-error-in-wordpress-step-by-step/)
    -  This reply was modified 7 years, 4 months ago by [t-p](https://wordpress.org/support/users/t-p/).

Viewing 1 replies (of 1 total)

The topic ‘When using https for site, no https for CSS and JS, and admin doesn’t
connect’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/when-using-https-for-site-no-https-for-css-and-js-and-admin-doesnt-connect/#post-11164736)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
