SlideShare une entreprise Scribd logo
1  sur  29
HTTP TO HTTPS
LYNN DYE
OKC WORDPRESS MEETUP
SEPTEMBER 28, 2017
LYNN@EXTREMEVIRTUALSUPPORT.COM @LYNNTOTHERESCUE MY WEBSITE: HTTPS://LYNNDYE.COM
ARE YOU READY?
• Notifications from Google for years now to secure websites with an SSL cert
• Non SSL sites will
• Be affected negatively in search
• Affect rankings in a negative way
• Starting in October, 2017, Google Chrome will slap a scary ‘non-secure’ warning when
people start to input one of your website forms. This is any type of form, i.e. contact
form
WHAT EXACTLY WILL HTTPS DO FOR ME?
• HTTPS takes the well-known and understood HTTP protocol, and simply layers a
SSL/TLS (hereafter referred to simply as “SSL”) encryption layer on top of it. Servers
and clients still speak exactly the same HTTP to each other, but over a secure SSL
connection that encrypts and decrypts their requests and responses. The SSL layer has
2 main purposes:
• Verifying that you are talking directly to the server that you think you are talking to
• Ensuring that only the server can read what you send it and only you can read what it
sends back
• It doesn’t keep your site ‘secure’, it keeps secure what people type in the boxes on
your site, i.e., credit card data, your name and email.
• https://robertheaton.com/2014/03/27/how-does-https-actually-work/
LET’S GO OVER THE STEPS TO CONVERT YOUR SITE
TO HTTPS
Part 1 – Set-up
Part 2 – Content
Updates
Part 3 – Follow
Through
PART 1 - LET’S TALK SSL CERTIFICATES
• Has your host already installed one of the free SSL certs on your site?
• Let’s Encrypt is very popular among WP websites and hosts
• WordPress will only recommend hosts that offer free SSL certs
https://wpdevshed.com/wordpress-hosts-offer-free-ssl-certificates/
• On the list: A2, SiteGround, DreamHost, BlueHost, WP Engine, InMotion, Pressable
• NOT on the list – HostGator
• You can get Let’s Encrypt on your own and bring it to a host
https://letsencrypt.org/getting-started/ but you will need to be somewhat techy to get
it on your site. Your host will probably help you with it but may charge you
PART 1 – THE SET UP
• Get your SSL certificate and
install it on your website
• Most web hosts have pretty easy
instructions
• After it’s installed, check the
certificate installation at SSL
Labs. It will verify your certificate
is installed and functioning
correctly.
PART 2 – CONTENT UPDATES
All your internal URLs need to be
converted from http to https
• Internal links, media (photos, video,
audio), embeds
All/any hard-coded URLs in your
custom theme and plugins
(applies to code written
specifically for your site)
• Theme templates and custom plugins –
replace the http with the https
PART 2 – CONTENT
UPDATES
• How to you find and replace all your URLs?
• You could use a manual process, but
it’s very tedious and it’s easy to miss
URLs
• BackupBuddy
• BackupBuddy has an area in the
database where you can do a
mass find and replace! (do a
backup before doing this!
• Click on BackupBuddy>Server
Tools>database tools and scroll
down to >Advanced: Database
Mass Text Replacement
PART 2 – CONTENT
UPDATES
• Velvet Blues plugin – free to use
and does the same thing as
BackupBuddy.
• Go to Tools>Update URLs
• Remember to uninstall when
you’re through with it
PART 2 – CONTENT UPDATES
• Now it’s time to change your WordPress settings in the dashboard
• Go to Settings>General
• Update your WordPress Address and Site Address URL to https
PART 2 – CONTENT UPDATES
• As soon as you update your WP dashboard URL to https, you’ll be immediately
logged out
• This is because now your website has the NEW URL (https)
• Log back in – your login info is still the same!
PART 2 – CONTENT UPDATES
• Time to test your website
• Go to all of your pages (or at least your main pages, if your website is very large with
blog articles), and check for the green padlock
• What if you don’t have the green padlock!!?? Check your site at
https://www.whynopadlock.com/ Put your URL in and it’ll come back with what
problems you may have
• You can also use the Chrome Dev Tool to inspect your pages. Click the 3 dots at the
upper right, scroll down to Tools>Developer Tools, then Right click>inspect>go to the
security tab
• Then refresh the page and find and update the insecure items
PART 2 – CONTENT
UPDATES
• This part can be the most
difficult and frustrating
• Places to check
• Your style.css file (do a
search for http to see if
you can find it that way)
• Another file that your
theme might use
CONTENT UPDATES
• To fix this error, I could see it was an insecure image in my css stylesheet
• I logged into my WP dashboard, opened the custom css stylesheet and did a
search for ‘callusphone’ and found it
• To fix something like this, put the ‘s’ after the http and that should fix it
CONTENT UPDATES
• Then I ran another test and
found everything clean and
green!
PART 3 – FOLLOW THROUGH
• You can add some code to your wp.config file to force SSL on all your pages
• This file is in your public_html folder on your host. Good idea to download your
current wp.config file before changing the code. If something goes wrong, you
can delete the one you changed and re-upload your original file.
• define('FORCE_SSL', true);
define('FORCE_SSL_ADMIN',true);
• Should you do this? Some say yes, some no
PART 3 – FOLLOW THROUGH
• Now it’s time to add the 301 redirect to your .htaccess file
• It contains information about caching, re-directions and other exciting technical
stuff that you normally wouldn’t have to worry about too much.
• This file is also in your public_html folder on your host. Backup as before
• This tells any website visitor who may have typed in http to redirect them to https
FOLLOW THROUGH
• I’ve seen more than one example of the 301 redirect code – the first one I got
from Yoast & was used in the webinar I was on and the one I’ve used on websites
I’ve converted
• RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
• Or
• RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301
]
FOLLOW THROUGH
• Now we need to let Google know about your website change—this is to keep
your SEO in good form. So log into your Google Webmaster Tools. Here you will
click add a property.
FOLLOW THROUGH
• Now add your ‘new’ property. For mine, I added https://lynndye.tech. Yes, you will
now have two properties in your Google Webmaster Tools – this is OK!
FOLLOW THROUGH
• Now we need to add your
sitemap. You can get this from
your Yoast SEO plugin in your
WP dashboard
FOLLOW THROUGH
• On my website, I had 3 sitemaps, so I copied and pasted each into my Google
Webmaster Tools console
FOLLOW THROUGH
• After you’ve submitted your
sitemap(s), go back to the
add/test button and this time
click on test after you’ve put your
URL in. You should get no errors
FOLLOW THROUGH
• Another thing you’ll want to do in Google Webmaster Tools is a ‘Fetch and Crawl’,
so Google will crawl your ‘new’ website.
FOLLOW THROUGH
• Here’s the Google console and the different
tabs/commands
• Test your robots.txt file. This file tells the search
engines where and where not to crawl
• You can read more here
https://yoast.com/ultimate-guide-robots-txt/
FOLLOW THROUGH
• Update any external, inbound links you control
• Email signatures, email newsletter, social profiles, ad networks, etc.
• If you’re on a CDN, there are steps to follow for this:
• Enable SSL support within the CDN
• Update the origin URL to your new https URL
• Enable HTTP/2 support (if available)
• Check with your CDN or webhost to see if they have a document to help walk you
through it
OTHER THINGS TO CONSIDER
• If you depend on a plugin to ‘fix’ all your insecure content, it might work well for
you, but something could happen with the plugin and then you’ll still have
problems
• Social share counts – they will need to be reset for the new domain
• Social tags – if you’re using a plugin to set special tags, then the links in your post
need to be converted
• Optin – links in these may need to be updated
RESOURCES
ARE YOU READY?
RESOURCES
• https://blogpioneer.com/http-to-https-
wordpress/
• https://yoast.com/moving-your-website-to-
https-ssl-tips-tricks/
• https://support.google.com/webmasters/to
pic/6029673
• http://searchengineland.com/http-https-
seos-guide-securing-website-246940
CONTACT ME
• If you are somewhat techy, you can
do your website conversion on our
own
• Contact me with questions or if you’d
like me to do your website
conversion
• lynn@extremevirtualsupport.com

Contenu connexe

Tendances

Secure Web Services
Secure Web ServicesSecure Web Services
Secure Web Services
Rob Daigneau
 
Administrators admin tips tricks and hacks presented by an ex-googler
Administrators admin tips tricks and hacks presented by an ex-googlerAdministrators admin tips tricks and hacks presented by an ex-googler
Administrators admin tips tricks and hacks presented by an ex-googler
zpurcey
 
WordPress Security - WordPress Meetup Copenhagen 2013
WordPress Security - WordPress Meetup Copenhagen 2013WordPress Security - WordPress Meetup Copenhagen 2013
WordPress Security - WordPress Meetup Copenhagen 2013
Thor Kristiansen
 
Secureyourrestapi 140530183606-phpapp02
Secureyourrestapi 140530183606-phpapp02Secureyourrestapi 140530183606-phpapp02
Secureyourrestapi 140530183606-phpapp02
Subhajit Bhuiya
 
Best practices-wordpress-enterprise
Best practices-wordpress-enterpriseBest practices-wordpress-enterprise
Best practices-wordpress-enterprise
Taylor Lovett
 

Tendances (20)

Secure Web Services
Secure Web ServicesSecure Web Services
Secure Web Services
 
Google Hacking Basics
Google Hacking BasicsGoogle Hacking Basics
Google Hacking Basics
 
Cache is keeping you from reaching the full potential as a developer (word ca...
Cache is keeping you from reaching the full potential as a developer (word ca...Cache is keeping you from reaching the full potential as a developer (word ca...
Cache is keeping you from reaching the full potential as a developer (word ca...
 
BrightonSEO Sep 2015 - HTTPS | Mark Thomas
BrightonSEO Sep 2015 - HTTPS | Mark Thomas BrightonSEO Sep 2015 - HTTPS | Mark Thomas
BrightonSEO Sep 2015 - HTTPS | Mark Thomas
 
Administrators admin tips tricks and hacks presented by an ex-googler
Administrators admin tips tricks and hacks presented by an ex-googlerAdministrators admin tips tricks and hacks presented by an ex-googler
Administrators admin tips tricks and hacks presented by an ex-googler
 
Everyone Screws Up HTTPS
Everyone Screws Up HTTPSEveryone Screws Up HTTPS
Everyone Screws Up HTTPS
 
Email keeps getting us pwned v1.0
Email keeps getting us pwned v1.0Email keeps getting us pwned v1.0
Email keeps getting us pwned v1.0
 
WordPress Security - WordPress Meetup Copenhagen 2013
WordPress Security - WordPress Meetup Copenhagen 2013WordPress Security - WordPress Meetup Copenhagen 2013
WordPress Security - WordPress Meetup Copenhagen 2013
 
High-Speed HTML5
High-Speed HTML5High-Speed HTML5
High-Speed HTML5
 
Wordpress Security & Hardening Steps
Wordpress Security & Hardening StepsWordpress Security & Hardening Steps
Wordpress Security & Hardening Steps
 
Secureyourrestapi 140530183606-phpapp02
Secureyourrestapi 140530183606-phpapp02Secureyourrestapi 140530183606-phpapp02
Secureyourrestapi 140530183606-phpapp02
 
Office 365 incident Response: BSides Vancouver 2018
Office 365 incident Response: BSides Vancouver 2018Office 365 incident Response: BSides Vancouver 2018
Office 365 incident Response: BSides Vancouver 2018
 
(WEB203) Building a Website That Costs Pennies to Operate | AWS re:Invent 2014
(WEB203) Building a Website That Costs Pennies to Operate | AWS re:Invent 2014(WEB203) Building a Website That Costs Pennies to Operate | AWS re:Invent 2014
(WEB203) Building a Website That Costs Pennies to Operate | AWS re:Invent 2014
 
Get More Links to Your Site With the Skyscraper Technique
Get More Links to Your Site With the Skyscraper TechniqueGet More Links to Your Site With the Skyscraper Technique
Get More Links to Your Site With the Skyscraper Technique
 
Web Design World Flickr
Web Design World FlickrWeb Design World Flickr
Web Design World Flickr
 
Great webapis
Great webapisGreat webapis
Great webapis
 
URLs and Domains (SMX East 2008)
URLs and Domains (SMX East 2008)URLs and Domains (SMX East 2008)
URLs and Domains (SMX East 2008)
 
Best practices-wordpress-enterprise
Best practices-wordpress-enterpriseBest practices-wordpress-enterprise
Best practices-wordpress-enterprise
 
Building an API Security Ecosystem
Building an API Security EcosystemBuilding an API Security Ecosystem
Building an API Security Ecosystem
 
Introduction to WordPress Security
Introduction to WordPress SecurityIntroduction to WordPress Security
Introduction to WordPress Security
 

Similaire à Http to Https Get your WordPress website Compliant!

E gov security_tut_session_4_lab
E gov security_tut_session_4_labE gov security_tut_session_4_lab
E gov security_tut_session_4_lab
Mustafa Jarrar
 
Server deployment
Server deploymentServer deployment
Server deployment
bsadd
 
Lesson 6 web based attacks
Lesson 6 web based attacksLesson 6 web based attacks
Lesson 6 web based attacks
Frank Victory
 

Similaire à Http to Https Get your WordPress website Compliant! (20)

WordPress Plugins and Security
WordPress Plugins and SecurityWordPress Plugins and Security
WordPress Plugins and Security
 
Website essentials things every library website should have
Website essentials  things every library website should haveWebsite essentials  things every library website should have
Website essentials things every library website should have
 
SSL and Wordpress
SSL and WordpressSSL and Wordpress
SSL and Wordpress
 
Important Things To Know In SEO
Important Things To Know In SEOImportant Things To Know In SEO
Important Things To Know In SEO
 
Fundamentals of HTML5
Fundamentals of HTML5Fundamentals of HTML5
Fundamentals of HTML5
 
E gov security_tut_session_4_lab
E gov security_tut_session_4_labE gov security_tut_session_4_lab
E gov security_tut_session_4_lab
 
The moment my site got hacked
The moment my site got hackedThe moment my site got hacked
The moment my site got hacked
 
Migrating Your WordPress Site to HTTPS - Getting it right the first time Word...
Migrating Your WordPress Site to HTTPS - Getting it right the first time Word...Migrating Your WordPress Site to HTTPS - Getting it right the first time Word...
Migrating Your WordPress Site to HTTPS - Getting it right the first time Word...
 
WordPress Security Essentials
WordPress Security EssentialsWordPress Security Essentials
WordPress Security Essentials
 
WordPress Resources Nov 2014
WordPress Resources Nov 2014WordPress Resources Nov 2014
WordPress Resources Nov 2014
 
How to Redirect HTTP to HTTPS in htaccess.pdf
How to Redirect HTTP to HTTPS in htaccess.pdfHow to Redirect HTTP to HTTPS in htaccess.pdf
How to Redirect HTTP to HTTPS in htaccess.pdf
 
AD113 Speed Up Your Applications w/ Nginx and PageSpeed
AD113  Speed Up Your Applications w/ Nginx and PageSpeedAD113  Speed Up Your Applications w/ Nginx and PageSpeed
AD113 Speed Up Your Applications w/ Nginx and PageSpeed
 
Rails security: above and beyond the defaults
Rails security: above and beyond the defaultsRails security: above and beyond the defaults
Rails security: above and beyond the defaults
 
WebHosting Performance / WordPress - Pubcon Vegas - Hendison
WebHosting Performance / WordPress  - Pubcon Vegas - HendisonWebHosting Performance / WordPress  - Pubcon Vegas - Hendison
WebHosting Performance / WordPress - Pubcon Vegas - Hendison
 
WordPress Hosting Basics
WordPress Hosting BasicsWordPress Hosting Basics
WordPress Hosting Basics
 
USG Rock Eagle 2017 - PWP at 1000 Days
USG Rock Eagle 2017 - PWP at 1000 DaysUSG Rock Eagle 2017 - PWP at 1000 Days
USG Rock Eagle 2017 - PWP at 1000 Days
 
Server deployment
Server deploymentServer deployment
Server deployment
 
Don't Mind the Gap by Galen Emery
Don't Mind the Gap by Galen EmeryDon't Mind the Gap by Galen Emery
Don't Mind the Gap by Galen Emery
 
Don't Mind the Gap by Galen Emery
Don't Mind the Gap by Galen EmeryDon't Mind the Gap by Galen Emery
Don't Mind the Gap by Galen Emery
 
Lesson 6 web based attacks
Lesson 6 web based attacksLesson 6 web based attacks
Lesson 6 web based attacks
 

Plus de Lynn Dye

Use slideshare to present video
Use slideshare to present videoUse slideshare to present video
Use slideshare to present video
Lynn Dye
 
Five important facebook privacy settings3 15 12
Five important facebook privacy settings3 15 12Five important facebook privacy settings3 15 12
Five important facebook privacy settings3 15 12
Lynn Dye
 

Plus de Lynn Dye (10)

Finding Gutenberg Training - OKC WordPress Meetup for December 2021
Finding Gutenberg Training - OKC WordPress Meetup for December 2021Finding Gutenberg Training - OKC WordPress Meetup for December 2021
Finding Gutenberg Training - OKC WordPress Meetup for December 2021
 
WordPress 5.4 Major Updates
WordPress 5.4 Major UpdatesWordPress 5.4 Major Updates
WordPress 5.4 Major Updates
 
Okc wp meetup june 2019_common_wp_mistakes
Okc wp meetup june 2019_common_wp_mistakesOkc wp meetup june 2019_common_wp_mistakes
Okc wp meetup june 2019_common_wp_mistakes
 
Office365for thebeginner
Office365for thebeginnerOffice365for thebeginner
Office365for thebeginner
 
Office365 training - for the Beginner
Office365 training - for the BeginnerOffice365 training - for the Beginner
Office365 training - for the Beginner
 
Use slideshare to present video
Use slideshare to present videoUse slideshare to present video
Use slideshare to present video
 
What Can SkyDrive Do For You?
What Can SkyDrive Do For You?What Can SkyDrive Do For You?
What Can SkyDrive Do For You?
 
Word press resources
Word press resourcesWord press resources
Word press resources
 
Five important facebook privacy settings3 15 12
Five important facebook privacy settings3 15 12Five important facebook privacy settings3 15 12
Five important facebook privacy settings3 15 12
 
Word Press Resources
Word Press  ResourcesWord Press  Resources
Word Press Resources
 

Dernier

%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 

Dernier (20)

%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
SHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions PresentationSHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions Presentation
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 

Http to Https Get your WordPress website Compliant!

  • 1. HTTP TO HTTPS LYNN DYE OKC WORDPRESS MEETUP SEPTEMBER 28, 2017 LYNN@EXTREMEVIRTUALSUPPORT.COM @LYNNTOTHERESCUE MY WEBSITE: HTTPS://LYNNDYE.COM
  • 2. ARE YOU READY? • Notifications from Google for years now to secure websites with an SSL cert • Non SSL sites will • Be affected negatively in search • Affect rankings in a negative way • Starting in October, 2017, Google Chrome will slap a scary ‘non-secure’ warning when people start to input one of your website forms. This is any type of form, i.e. contact form
  • 3. WHAT EXACTLY WILL HTTPS DO FOR ME? • HTTPS takes the well-known and understood HTTP protocol, and simply layers a SSL/TLS (hereafter referred to simply as “SSL”) encryption layer on top of it. Servers and clients still speak exactly the same HTTP to each other, but over a secure SSL connection that encrypts and decrypts their requests and responses. The SSL layer has 2 main purposes: • Verifying that you are talking directly to the server that you think you are talking to • Ensuring that only the server can read what you send it and only you can read what it sends back • It doesn’t keep your site ‘secure’, it keeps secure what people type in the boxes on your site, i.e., credit card data, your name and email. • https://robertheaton.com/2014/03/27/how-does-https-actually-work/
  • 4. LET’S GO OVER THE STEPS TO CONVERT YOUR SITE TO HTTPS Part 1 – Set-up Part 2 – Content Updates Part 3 – Follow Through
  • 5. PART 1 - LET’S TALK SSL CERTIFICATES • Has your host already installed one of the free SSL certs on your site? • Let’s Encrypt is very popular among WP websites and hosts • WordPress will only recommend hosts that offer free SSL certs https://wpdevshed.com/wordpress-hosts-offer-free-ssl-certificates/ • On the list: A2, SiteGround, DreamHost, BlueHost, WP Engine, InMotion, Pressable • NOT on the list – HostGator • You can get Let’s Encrypt on your own and bring it to a host https://letsencrypt.org/getting-started/ but you will need to be somewhat techy to get it on your site. Your host will probably help you with it but may charge you
  • 6. PART 1 – THE SET UP • Get your SSL certificate and install it on your website • Most web hosts have pretty easy instructions • After it’s installed, check the certificate installation at SSL Labs. It will verify your certificate is installed and functioning correctly.
  • 7. PART 2 – CONTENT UPDATES All your internal URLs need to be converted from http to https • Internal links, media (photos, video, audio), embeds All/any hard-coded URLs in your custom theme and plugins (applies to code written specifically for your site) • Theme templates and custom plugins – replace the http with the https
  • 8. PART 2 – CONTENT UPDATES • How to you find and replace all your URLs? • You could use a manual process, but it’s very tedious and it’s easy to miss URLs • BackupBuddy • BackupBuddy has an area in the database where you can do a mass find and replace! (do a backup before doing this! • Click on BackupBuddy>Server Tools>database tools and scroll down to >Advanced: Database Mass Text Replacement
  • 9. PART 2 – CONTENT UPDATES • Velvet Blues plugin – free to use and does the same thing as BackupBuddy. • Go to Tools>Update URLs • Remember to uninstall when you’re through with it
  • 10. PART 2 – CONTENT UPDATES • Now it’s time to change your WordPress settings in the dashboard • Go to Settings>General • Update your WordPress Address and Site Address URL to https
  • 11. PART 2 – CONTENT UPDATES • As soon as you update your WP dashboard URL to https, you’ll be immediately logged out • This is because now your website has the NEW URL (https) • Log back in – your login info is still the same!
  • 12. PART 2 – CONTENT UPDATES • Time to test your website • Go to all of your pages (or at least your main pages, if your website is very large with blog articles), and check for the green padlock • What if you don’t have the green padlock!!?? Check your site at https://www.whynopadlock.com/ Put your URL in and it’ll come back with what problems you may have • You can also use the Chrome Dev Tool to inspect your pages. Click the 3 dots at the upper right, scroll down to Tools>Developer Tools, then Right click>inspect>go to the security tab • Then refresh the page and find and update the insecure items
  • 13. PART 2 – CONTENT UPDATES • This part can be the most difficult and frustrating • Places to check • Your style.css file (do a search for http to see if you can find it that way) • Another file that your theme might use
  • 14. CONTENT UPDATES • To fix this error, I could see it was an insecure image in my css stylesheet • I logged into my WP dashboard, opened the custom css stylesheet and did a search for ‘callusphone’ and found it • To fix something like this, put the ‘s’ after the http and that should fix it
  • 15. CONTENT UPDATES • Then I ran another test and found everything clean and green!
  • 16. PART 3 – FOLLOW THROUGH • You can add some code to your wp.config file to force SSL on all your pages • This file is in your public_html folder on your host. Good idea to download your current wp.config file before changing the code. If something goes wrong, you can delete the one you changed and re-upload your original file. • define('FORCE_SSL', true); define('FORCE_SSL_ADMIN',true); • Should you do this? Some say yes, some no
  • 17. PART 3 – FOLLOW THROUGH • Now it’s time to add the 301 redirect to your .htaccess file • It contains information about caching, re-directions and other exciting technical stuff that you normally wouldn’t have to worry about too much. • This file is also in your public_html folder on your host. Backup as before • This tells any website visitor who may have typed in http to redirect them to https
  • 18. FOLLOW THROUGH • I’ve seen more than one example of the 301 redirect code – the first one I got from Yoast & was used in the webinar I was on and the one I’ve used on websites I’ve converted • RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] • Or • RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301 ]
  • 19. FOLLOW THROUGH • Now we need to let Google know about your website change—this is to keep your SEO in good form. So log into your Google Webmaster Tools. Here you will click add a property.
  • 20. FOLLOW THROUGH • Now add your ‘new’ property. For mine, I added https://lynndye.tech. Yes, you will now have two properties in your Google Webmaster Tools – this is OK!
  • 21. FOLLOW THROUGH • Now we need to add your sitemap. You can get this from your Yoast SEO plugin in your WP dashboard
  • 22. FOLLOW THROUGH • On my website, I had 3 sitemaps, so I copied and pasted each into my Google Webmaster Tools console
  • 23. FOLLOW THROUGH • After you’ve submitted your sitemap(s), go back to the add/test button and this time click on test after you’ve put your URL in. You should get no errors
  • 24. FOLLOW THROUGH • Another thing you’ll want to do in Google Webmaster Tools is a ‘Fetch and Crawl’, so Google will crawl your ‘new’ website.
  • 25. FOLLOW THROUGH • Here’s the Google console and the different tabs/commands • Test your robots.txt file. This file tells the search engines where and where not to crawl • You can read more here https://yoast.com/ultimate-guide-robots-txt/
  • 26. FOLLOW THROUGH • Update any external, inbound links you control • Email signatures, email newsletter, social profiles, ad networks, etc. • If you’re on a CDN, there are steps to follow for this: • Enable SSL support within the CDN • Update the origin URL to your new https URL • Enable HTTP/2 support (if available) • Check with your CDN or webhost to see if they have a document to help walk you through it
  • 27. OTHER THINGS TO CONSIDER • If you depend on a plugin to ‘fix’ all your insecure content, it might work well for you, but something could happen with the plugin and then you’ll still have problems • Social share counts – they will need to be reset for the new domain • Social tags – if you’re using a plugin to set special tags, then the links in your post need to be converted • Optin – links in these may need to be updated
  • 29. ARE YOU READY? RESOURCES • https://blogpioneer.com/http-to-https- wordpress/ • https://yoast.com/moving-your-website-to- https-ssl-tips-tricks/ • https://support.google.com/webmasters/to pic/6029673 • http://searchengineland.com/http-https- seos-guide-securing-website-246940 CONTACT ME • If you are somewhat techy, you can do your website conversion on our own • Contact me with questions or if you’d like me to do your website conversion • lynn@extremevirtualsupport.com