Code Monkey home page Code Monkey logo

Comments (2)

ashfame avatar ashfame commented on August 10, 2024 1

I just switched an old site to refresh up my memory for the exact steps:

Actual Instructions

  • Take a backup of files and database in case you need to revert for whatever reasons.
  • Get your webhost to install a TLS (also referred to as SSL) certificate for your website
  • Once installed ensure that your website is accessible on https URL, by simply replacing http with https i.e. adding a s to it. Eg: If your website was http://www.domain.com, new URL would be https://www.domain.com
  • See if you have any errors in your browser console complaining about mixed content, as you browse different pages on your website. Usually when using good quality plugin and theme, there won't be an issue. But if you do, you will need to resolve these issues.
  • Once you are satisfied with the results and are ready to flip the switch, go ahead and update the website URL in WordPress admin: Settings > General.
  • Now if you try to access http version of your website you will be redirected to https version. Best to try in an incognito/private window in your browser to test this.

Potential issues:

http to https redirect isn't working

I am not sure if changing the URL in WordPress causes it to issue redirects, though I believe it does. I never use it, as I always handle redirects on a server level.

Mixed-content warnings

Depending on what resources are causing these errors, it can either be your theme, any plugin you use or actual content you load in post/page and requires a different approach for each one of them.

Post/page content requires you to replace string, can be done via this plugin https://wordpress.org/plugins/better-search-replace/

Theme/plugins would require using the right functions to generate URLs or simply update the hardcoded urls to be https.

from helphub.

atachibana avatar atachibana commented on August 10, 2024

This issue was moved to the new repository.
WordPress/Documentation-Issue-Tracker#19

from helphub.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.