- Make sure the domain has an SSL certificate (see How to install a free SSL certificate).
- In WordPress, go to Settings › General.
- Change both WordPress Address (URL) and Site Address (URL) to start with https:// and save. You'll be logged out; log back in.
- Replace old http:// links stored in the database using Better Search Replace (see How to update WordPress URLs after a migration), replacing
http://yourdomain.co.ukwithhttps://yourdomain.co.uk. - Turn on Force HTTPS Redirect for the domain in cPanel under Domains.
- Clear any caching plugin.
Still seeing "not secure"?
This is usually "mixed content", where an image or script still loads over http. Use your browser's developer tools (F12 › Console) to see which files, then update them, often in theme settings, widgets or page builder content.