Change site to HTTPs (SSL)

Hi,

I have set up SSL for http://www.freshfields.org.uk. I have done some research and have been told I need to add…

<IfModule mod_rewrite.c>

RewriteEngine On

RewriteCond %{SERVER_PORT} 80

RewriteRule ^(.*)$ https://www.yoursite.com/$1 [R,L]

</IfModule>

Now currently I have the following in my .htaccess file..

<IfModule mod_rewrite.c>

RewriteEngine On

RewriteBase /

RewriteRule ^index.php$ – [L]

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . /index.php [L]

</IfModule>

My question is do i just add the new code below or do i replace the current with the new?

:slight_smile: