Jump to content

Recommended Posts

Posted

Hi,

You can redirect HTTP traffic to HTTPS using the .htaccess file. The below code, when added to a .htaccess file, will automatically redirect any traffic destined for http: to https:

~~~~~~~~~~~~~~~~~~~~~~~~
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
~~~~~~~~~~~~~~~~~~~~~~~~

However, if you are using Wordpress CMS, you should change the site URL from http://domainname.com to https://domainname.com on the WordPress admin panel, navigate to Settings >> General and change the WordPress Address (URL) and Site Address (URL) with HTTPS. Also you should change all installed plugins and themes url from http to https. Better you may install a plugin called really-simple-ssl https://wordpress.org/plugins/really-simple-ssl/ it will simply convert everything from http to https and revert it. If you encounter any issues please do not hesitate to open a ticket request

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...