wordpress insecure URL fix issue

Solution:

You’re looking at this from the wrong way. WordPress has built-in support for HTTPS for the backend, wich can be enabled in wp-config.php, and for the front-end, wich can be used by changing the URL in your admin->reading page.

If you have a bunch of hardcoded links rather than soft, WordPress generated links, you can choose to use .htaccess to force the user to change to HTTPS.

Do note that HTTPS data can not be cached and this will may make your site slower for visitors. Depending on the type of site this can be a big deal.