Title: HTTPS stopped working without reason
Last modified: August 31, 2016

---

# HTTPS stopped working without reason

 *  Resolved [salajm](https://wordpress.org/support/users/salajm/)
 * (@salajm)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/https-stopped-working-without-reason/)
 * Hi,
 * please help me with strange problem. I have woocommerce e-shop that has SSL certificate
   and WordPress is set to [https://site.url](https://site.url). Everything worked
   fine for months. Today I saw that https:// pages are bad rendered – all scripts
   and css have urls that begin with http:// so they are blocked by browser. Links
   to other pages are correct – [https://](https://wordpress.org/support/topic/https-stopped-working-without-reason/?output_format=md).
   Second problem – I cannot login to wp-admin, browser returned error – too many
   redirects. I tried everything – disable all plugins, set the default theme, revert
   WordPress to older version because yesterday automatically updated to new version.
   Nothing helped. Please help me, I don’t know what happened…
 * Michal

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

 *  [justinwhall](https://wordpress.org/support/users/jwind/)
 * (@jwind)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/https-stopped-working-without-reason/#post-7024771)
 * WC uses the WP function is_ssl() to redirect insecure pages. This can cause a
   redirect loop in some cases. Did you install another plugin?
 * Check if the “Force Secure Checkout” is checked here: WooCommerce > Settings 
   > Checkout tab. Does unchecking that fix it?
 *  Thread Starter [salajm](https://wordpress.org/support/users/salajm/)
 * (@salajm)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/https-stopped-working-without-reason/#post-7024774)
 * No, I didn’t install a plugin. Force Secure Checkout is unchecked
 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/https-stopped-working-without-reason/#post-7024777)
 * Ask your host about the redirects.
 *  Thread Starter [salajm](https://wordpress.org/support/users/salajm/)
 * (@salajm)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/https-stopped-working-without-reason/#post-7024780)
 * why? It’s clearly a WordPress issue, redirects are only when I am using /wp-admin/,
   the site is working (with limitations that scripts and css files are loaded with
   http:// so they are blocked)
 *  [justinwhall](https://wordpress.org/support/users/jwind/)
 * (@jwind)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/https-stopped-working-without-reason/#post-7024782)
 * What’s your .htaccess file look like?
 *  Thread Starter [salajm](https://wordpress.org/support/users/salajm/)
 * (@salajm)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/https-stopped-working-without-reason/#post-7024783)
 * # 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
 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/https-stopped-working-without-reason/#post-7024785)
 * This is why.
 * > The webpage at [https://www.michalsalaj.sk/wp-admin/](https://www.michalsalaj.sk/wp-admin/)
   > has resulted in too many redirects. Clearing your cookies for this site or 
   > allowing third-party cookies may fix the problem. If not, **it is possibly 
   > a server configuration issue** and not a problem with your computer.
 *  Thread Starter [salajm](https://wordpress.org/support/users/salajm/)
 * (@salajm)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/https-stopped-working-without-reason/#post-7024789)
 * 🙂
 *  Thread Starter [salajm](https://wordpress.org/support/users/salajm/)
 * (@salajm)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/https-stopped-working-without-reason/#post-7024796)
 * I worked for months to make this site and when it is finished, it will stop working
   without real reason? There were no change in configuration of the server or wordpress.
   Yesterday it worked and today not. How to debug the real reason in wordpress?
   Is there some debug possibility?
 *  Thread Starter [salajm](https://wordpress.org/support/users/salajm/)
 * (@salajm)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/https-stopped-working-without-reason/#post-7024802)
 * This /wp-admin/ redirect is not a main problem. I fixed it with define(‘FORCE_SSL_ADMIN’,
   false);
 * The problem is, why in [https://www.michalsalaj.sk](https://www.michalsalaj.sk)
   if you look at html source, scripts and css urls are http:// when I load page
   with https://
 * It looks like the function is_ssl() return false even if the page is loaded with
   https://
 *  Thread Starter [salajm](https://wordpress.org/support/users/salajm/)
 * (@salajm)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/https-stopped-working-without-reason/#post-7024813)
 * I found a reason:
 * [https://www.michalsalaj.sk/doc/info.php](https://www.michalsalaj.sk/doc/info.php)
 * SERVER_PORT 80
    REQUEST_SCHEME http
 * kmessinger, thank you, I would never see server configuration without your hint
   🙂
 * I contacted my provider
 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/https-stopped-working-without-reason/#post-7024853)
 * Yahoo! You are back in business. Glad we could help.

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

The topic ‘HTTPS stopped working without reason’ is closed to new replies.

## Tags

 * [HTTPS](https://wordpress.org/support/topic-tag/https/)
 * [problem](https://wordpress.org/support/topic-tag/problem/)
 * [SSL](https://wordpress.org/support/topic-tag/ssl/)
 * [too many redirects](https://wordpress.org/support/topic-tag/too-many-redirects/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 12 replies
 * 3 participants
 * Last reply from: [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/https-stopped-working-without-reason/#post-7024853)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
