How to trasfer a big (ish) WP site from http to htps?

I have a rather complicated issue (for me at least with my little knowledge) which has been holding me back from doing this.

I have an already established site with almost 1000 posts with decent traffic. I set up everything through ServerPilot.

I also used CloudFlare and have their Flexible SSL on as well.

How do I go about transferring to https? What are the steps involved to minimize any traffic loss and downtime?

I would appreciate any help?

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

With Cloudflare this should already be setup for you as it acts somewhat as a reverse proxy to your WordPress website.

If you would like to update all your internal URLs, if you have access to the command line and wp-cli you could use a command like : wp search-replace 'http:' 'https:'

This will update all URLs from http to https - the downfall here is that if the URL is an external link or an image reference that currently does not support https then the link will be broken - Proceed with caution.