• Resolved nikku297

    (@nikku297)


    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. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic
Viewing 3 replies - 1 through 3 (of 3 total)
  • 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

    (@fierevere)

    永子

    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/
    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

    (@nikku297)

    Hi Yui

    Thanks for the solution. Issue resolved.

    • This reply was modified 6 years, 1 month ago by nikku297.
Viewing 3 replies - 1 through 3 (of 3 total)

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