HTTP to SSL redirect – just with PHP

Few month ago i wrote how to integrate Cloudflare SSL to your WordPress website.
We used some little tricks in wp-config and Apache Configuration and Cloudflare SSL began working like pure SSL.

Now i am sharing another little trick which doesn’t require apache or nginx settings change.

Leave a Reply