• My current .htaccess file looks like this.

    My whole site is https://

    How do I set up the redirect in my .htaccess file

    It currently looks like this.

    # 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

    What should I change?

Viewing 1 replies (of 1 total)
  • Moderator James Huff

    (@macmanx)

    You won’t need to. If you set the two URLs at Settings -> General to use HTTPS, WordPress will handle redirecting all non-HTTPS traffic for you.

Viewing 1 replies (of 1 total)
  • The topic ‘.htaccess file change to force https:// site wide’ is closed to new replies.