Page 51 - Payout Magazine Online Volume 9.1
P. 51

How to Convert an HTTP Website                     place. Get help from support at your website        HTTPS URL, such as https://yoursite.com/
to HTTPS                                           host if needed because it’s important to get        Use Secure URLs in Frontend: Yes Use Secure
                                                   these settings correct.                             URLs in Admin: Yes
    With a little preparation, and in a few
simple steps, you can easily convert an HTTP           Once the SSL certificate is properly            - WordPress:Really Simple SSL
website to one that’s secured.                     configured with your website, there will be
                                                   no error or warning messages about invalid              WordPress: In WordPress, you’ll make the
Preparation                                        certificates when visiting any HTTPS pages.         change in Settings -> General Settings ->
                                                   It’s recommended that you clear your cache          changing both WordPress Address (URL) and
    The things you need to be aware of before      fully (a Private Browsing window isn’t enough)      Site Address (URL) to your URL with HTTPS
you begin are below.                               to view the changes. To be absolutely sure the      at the beginning. The use of a plugin like Really
                                                   installation was successful, have a third party     Simple SSL can do most of the work for you.
�	The website you wish to convert should           check an HTTPS page of the website that no
    be sales ready. Converting a website to        one has landed on before.                           - Comb for Errors:
    HTTPS just before a busy season or peak
    time isn’t a good idea.                        Converting All Links                                    Comb for Errors: It’s important to review
                                                                                                       each link on each page of your website to
�	 The host of your website should be capable          Having a content management system              ensure they work correctly. Using Inspect
    of the HTTPS protocol. You’ll also want        (CMS) like WordPress can make this step             Element tools in most popular web browsers
    to see if there are any limitations, extra     immensely easier. Even with a CMS site,             like Chrome, Firefox, and Safari can make your
    configurations involved, or additional costs.  start by finding any and all links that weren’t     job even easier. You’ll receive errors where
                                                   generated by the CMS which will include             there are incorrect HTTP linked files. You can
�	 Communicate to any relevant staff or team       links to CDN, images, JavaScript, pages, and        also review the source code for each page and
    members that the conversion will be made       anything else your website utilizes.                search for “HTTP:” and it will reveal links you
    and when.                                                                                          need to fix.
                                                       Change all links to relative paths. As
�	Set aside the time and environment you           opposed to “http://www.yoursite.com/                Redirects
    need to accomplish the task.                   photographs”, use “/photographs”. When
                                                   relative links are used, they will automatically          For Apache-based sites, all incoming
Acquiring an SSL Certificate                       work with HTTPS protocol where full link paths      traffic is directed from older links in Google or
                                                   use HTTP which will have to be changed for          outdated links on third-party sites. Redirects
    Until recently, secure socket layer (SSL)      each link to HTTPS. Ensure the links start with     can be established for all HTTP requests to
certificates could be expensive. Thanks to         / each time.                                        be HTTPS and it’s easy to set up using an
newer certificate authorities like Let’s Encrypt,                                                      .htaccess file.
it’s much easier and less expensive to secure a        You can test as much as you like by
website using HTTPS protocol.                      refreshing your cache and going to a page               RewriteEngine On
                                                   where there are links you want to check. Check          RewriteCond %{HTTPS} off
    Most hosting companies sell SSL                each link and ensure that everything works on           RewriteRule (.*) https://%{HTTP_
certificates and many will configure them          HTTP and HTTPS.                                         HOST}%{REQUEST_URI} [R=301,L]
correctly for you as well. It’s important to do
your homework and ensure that you acquire              If you’re using a CMS like Joomla, Drupal,          Once the above code is saved into your
an SSL certificate that covers your URL as         or WordPress, how to change the links will vary     .htaccess file, thoroughly test the website for
both yoursite.com and www.yoursite.com. If it      per platform. Be sure to check any caching          functionality and to ensure that any requests
should appear that your website will require       plugins or utilities used if you run into trouble.  your site received are redirected to an HTTPS
any special type of SSL certificate, you may                                                           URL.
want to seek the services of a professional or     - Magento:
get help from a representative at your hosting                                                         Takeaway
company.                                               Magento: Analyze your CMS pages, posts,
                                                   blocks, template files and more and watch                 While converting a website from HTTP
Configuring the SSL Certificate                    for any links that need to be updated. Even         to HTTPS can be a lengthy, tedious process,
with the Hosting                                   where the links were generated by the CMS,          there’s a lot of help available to you. There are
                                                   understand that they still could be incorrect.      great guides to help with the process from
     If your website host doesn’t set up SSL       Check all of them. Magento users will then          beginning to end. For free or for a low fee, and
certificates for you, or you elect to do it        want to login to the backend and navigate to        a one-time conversion process, you can have
yourself, you’ll need to generate keys from        System -> Configuration -> Web -> Secure and        an HTTPS website to put you in good standing
the certificate seller and paste them into the     verify the settings found there are correct and     with Google and earn the trust of your visitors
website hosting controls at the appropriate        up to date. Base URL (ending with a slash):         and customers.

                                                                                                       PayOutMagazine 51
   46   47   48   49   50   51   52   53   54   55   56