Title: SSL (HTTPS) no CSS and Scripts
Last modified: October 8, 2017

---

# SSL (HTTPS) no CSS and Scripts

 *  [agabuga](https://wordpress.org/support/users/agabuga/)
 * (@agabuga)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/ssl-https-no-css-and-scripts/)
 * Hello!
    I have itstalled WP couple days ago and still can’t solve my problem.
   I have ssl for my site and installed it on the server (Apache, virtual hosting).
   We get secure connection for [https://rdnstudio.ru/](https://rdnstudio.ru/) but
   there are some problems for all another pages (mixed content warnings). For example
   [https://rdnstudio.ru/test](https://rdnstudio.ru/test). This is my problem i 
   still try to solve.
 * Using [https://rdnstudio.ru/index.php/pagename](https://rdnstudio.ru/index.php/pagename)–
   is OK. All scripts and CSS works perfect. For it i should change the mask of 
   the permanent links to [https://rdnstudio.ru/index.php/%postname%/](https://rdnstudio.ru/index.php/%postname%/)
 * Any defaults links are OK too!
 * I don’t use any plugins for SSL and so on because of LOOP (to many redirections
   problem).
 * mod_rewrite is OK.
    [https://rdnstudio.ru/phpinfo.php](https://rdnstudio.ru/phpinfo.php)
 * My .htaccess:
 * # BEGIN WordPress
    <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule
   ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME}!-
   d RewriteRule . /index.php [L] </IfModule> # END WordPress
 * Help please 🙂
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fssl-https-no-css-and-scripts%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Achyuth Ajoy](https://wordpress.org/support/users/achyuthajoy/)
 * (@achyuthajoy)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/ssl-https-no-css-and-scripts/#post-9567016)
 * Hi,
    The problem occurs because, when you switched to https you didn’t change
   the WordPress settings to support https. As a result, your theme & plugins are
   loading content over http, which gets blocked when accessed via https.
 * To fix this, you’ll need to do a database search and replace. This article explains
   in details how to do a database search & replace. [https://kinsta.com/knowledgebase/wordpress-search-and-replace/](https://kinsta.com/knowledgebase/wordpress-search-and-replace/)
 * You need to replace **[http://rdnstudio.ru/](http://rdnstudio.ru/)** with **[https://rdnstudio.ru/](https://rdnstudio.ru/)**
 * Let me know whether the above steps solve your problems. Good day!
 *  Thread Starter [agabuga](https://wordpress.org/support/users/agabuga/)
 * (@agabuga)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/ssl-https-no-css-and-scripts/#post-9567116)
 * Hi! Thank you for your reply. I did it and i have a great news! The problem was
   at hosting operator side! Nginx + Apache. .htaccess should contain SetEnvIf X-
   SSL-Emu on HTTPS=on.
 *  [Achyuth Ajoy](https://wordpress.org/support/users/achyuthajoy/)
 * (@achyuthajoy)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/ssl-https-no-css-and-scripts/#post-9567126)
 * You’re welcome. Please mark the ticket as resolved if the issue is solved.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘SSL (HTTPS) no CSS and Scripts’ is closed to new replies.

## Tags

 * [https error](https://wordpress.org/support/topic-tag/https-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Achyuth Ajoy](https://wordpress.org/support/users/achyuthajoy/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/ssl-https-no-css-and-scripts/#post-9567126)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
