Title: https redirects to http after installing WP
Last modified: July 16, 2022

---

# https redirects to http after installing WP

 *  Resolved [Frans Blok](https://wordpress.org/support/users/frans-blok/)
 * (@frans-blok)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/https-redirects-to-to-http-after-installing-wp/)
 * I installed WP-optimize today and the first results look promising.
 * However, in my own browser, when I click on the “favorite” to my website, I get
   redirected from https to the http version. As far as I can see, that’s the only
   place where that happens. It’s not the most dramatic error, but I’d like to know
   why it happens. Also because I want to make sure my visitors (or Google) are 
   not redirected. Help would be appreciated.
    -  This topic was modified 3 years, 11 months ago by [Frans Blok](https://wordpress.org/support/users/frans-blok/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhttps-redirects-to-to-http-after-installing-wp%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/https-redirects-to-to-http-after-installing-wp/#post-15833298)
 * [@frans-blok](https://wordpress.org/support/users/frans-blok/) Have you performed
   a conflict test yet?
 * Try deactivating all plugins except for WP-Optimize and see if it is resolved.
 * If so, reactivate each plugin one at a timeuntil you find the culprit. You can
   check for the issue between activating each plugin, so you can see which one 
   is causing problems.
 * Please let us know your findings.
 *  Thread Starter [Frans Blok](https://wordpress.org/support/users/frans-blok/)
 * (@frans-blok)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/https-redirects-to-to-http-after-installing-wp/#post-15833702)
 * Thanks for your reply. I didn’t do the deactivate-all-plugins test yet, but when
   I temporarily disabled the page caching in wp-optimize the issue was gone. Then
   I did some further research and found out that probably plugin Polylang is the
   culprit. It seems to be a common conflict between Polylang and cache plug-ins:
 * “When the front page is visited, redirects to itself in the browser preferred
   language. As this doesn’t work if it is cached, Polylang will attempt to disable
   the front page cache for known cache plugins”
 * So I deactivated the “detect browser language” in Polylang, which should solve
   the issue. And it did, for a while but then it happened again.
 * Now I’m wondering if excluding the front page from caching would be a good idea.
    -  This reply was modified 3 years, 10 months ago by [Frans Blok](https://wordpress.org/support/users/frans-blok/).
 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/https-redirects-to-to-http-after-installing-wp/#post-15836992)
 * [@frans-blok](https://wordpress.org/support/users/frans-blok/) Yes, please try
   to add your site url to “URLS to exclude from caching” in WP-Optimize > Cache
   > Advanced settings and check if it helps to fix the issue?
 *  Thread Starter [Frans Blok](https://wordpress.org/support/users/frans-blok/)
 * (@frans-blok)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/https-redirects-to-to-http-after-installing-wp/#post-15837718)
 * It seems to work now. I had not only to add the site url to the “urls to exclude”,
   but also keep the http to https redirect in another plugin, Simple 301 Redirects.
   So now there are three plugins interacting in a way that I don’t yet completely
   fathom. But as long as it works, I’m happy. Thanks for the support.

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

The topic ‘https redirects to http after installing WP’ is closed to new replies.

 * ![](https://ps.w.org/wp-optimize/assets/icon-256x256.png?rev=1552899)
 * [WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance](https://wordpress.org/plugins/wp-optimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-optimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-optimize/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-optimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-optimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-optimize/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Frans Blok](https://wordpress.org/support/users/frans-blok/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/https-redirects-to-to-http-after-installing-wp/#post-15837718)
 * Status: resolved