Title: Website opening with both http and https
Last modified: April 12, 2020

---

# Website opening with both http and https

 *  Resolved [nikku297](https://wordpress.org/support/users/nikku297/)
 * (@nikku297)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/website-opening-with-both-http-and-https/)
 * Hi
 * I have a blogging website. The site is opening with both http and https. Kindly
   help me with this issue.
    -  This topic was modified 6 years, 1 month ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
      Reason: Moved to Fixing WordPress, this is not an Everything else WordPress
      topic

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

 *  [George Appiah](https://wordpress.org/support/users/gappiah/)
 * (@gappiah)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/website-opening-with-both-http-and-https/#post-12662895)
 * What is the problem you’re trying to solve? What’s the problem with the site 
   opening with both HTTP and HTTPS? What do you really want?
 *  Moderator [Yui](https://wordpress.org/support/users/fierevere/)
 * (@fierevere)
 * 永子
 * [6 years, 1 month ago](https://wordpress.org/support/topic/website-opening-with-both-http-and-https/#post-12663031)
 * Probably you want your site to open on https://
 * Checklist
 * 1)
    Dashboard > Settings > General
 * wordpress url and site url should be both https://
 * 2) Install [https://wordpress.org/plugins/better-search-replace/](https://wordpress.org/plugins/better-search-replace/)
   
   run replace routline (remove dry run checkmark) on all tables replacing `http://
   mysite` to `https://mysite`
 * use your real site address here
 * 3) Set 301 redirect in .htaccess
 *     ```
       RewriteEngine On
       RewriteCond %{SERVER_PORT} 80
       RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R,L]
       ```
   
 * or other code, if you have some specific server settings.
    If in trouble – ask
   your webhosting support
 * ——–
 * Or just use some magic! Like Really Simple SSL plugin or any other similar.
    
   It will go all the required steps with one click
 *  Thread Starter [nikku297](https://wordpress.org/support/users/nikku297/)
 * (@nikku297)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/website-opening-with-both-http-and-https/#post-12666641)
 * Hi Yui
 * Thanks for the solution. Issue resolved.
    -  This reply was modified 6 years, 1 month ago by [nikku297](https://wordpress.org/support/users/nikku297/).

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

The topic ‘Website opening with both http and https’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [nikku297](https://wordpress.org/support/users/nikku297/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/website-opening-with-both-http-and-https/#post-12666641)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
