WordPress.org

Ready to get started?Download WordPress

Forums

converting entire site to https ssl (3 posts)

  1. ds123
    Member
    Posted 2 years ago #

    can someone please tell me how to go about changing the site to https?

    changing it in settings the site address and url to https instead of http does work ...however all the /wp-content/uploads are all absolute urls like http://mydomain.com/wp-content/uploads/someimage.jpg .... so they break the https ..any advice would be appreciated

  2. Samuel B
    moderator
    Posted 2 years ago #

  3. sentinel777
    Member
    Posted 2 years ago #

    you dont need any plugins for https routing.

    if you have installed the ssl certificate, just add the following rule into your htaccess file:

    # HTTPS redirect
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule (.*) https://%{HTTP_HOST}/$1 [L]
    </IfModule>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags