Delray Beach SEO

Technical SEO Services for

Agencies and Web Developers

(561) 325 - 7307

marketing services

local seo services

How to set your website to automatically redirect to the HTTPS version

Google, and other search engines, prefer that all websites are served over an SSL connection.
Here's the current best practices way to be sure you are compliant:

HTACCESS File: modify and add this code:

RewriteEngine On

RewriteCond %{HTTPS} !=on

RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]


Modify and add to head section:

<link rel="canonical" href="" />

cPanel Setting:

From your cPanel account, go to the domains page, there is a switch for a https redirect to be turned on.

Your hosting provider should offer totally free SSL certificates included in any hosting package. If they don't you may want to use for fast, SEO friendly web hosting.

SEO Links: